Simplified sorting.