move insertion sort to DIR sort
move selection sort to DIR sort