returns the list with items sorted in alphabetical order. If dir is missing or zero, list is sorted in ascending order. If dir is non-zero, list is sorted in descending order.
Add comment