Quick-sort has worst case time complexity of O(N^2)!
It is considered better than other sorting algorithms
like mergesort heapsort etc. which have O(N log n) time complexity
in the worst case.
The reason may be the
1.in place sorting
2.stability,
3.very less amount of code involved.