Quick sorting, binary sorting and other