Fix current selection.
Sorting