Now the selection is sorted.
Adapted ReorderSelection
Merge pull request #859 from gorco/minFix

sorted selection