quick_sort sleep sort method