sort package:ListLike

Sorts the list. On data types that do not preserve ordering, or enforce their own ordering, the result may not be what you expect. See also sortBy.
Sort function taking a custom comparison function