I don't know how "more specific" you want... quicksort, mergesort, or any kind of sorting algo will do.