Did sorting
Sorting in both directions