fix selectionsorter