sort

Creates new array sorted in ascending/descending order with single or multiple criteria.

Example