qsort
is a quick implemetation of sorting, but it doesn't guarantee the required $O(m\log m)$ complexity. At least not officially.
user134177
user134177
user134177