Revert "Quick sort"

This reverts commit c9069768fedc4f15506555735aa615778000429f.