Sort List

Approach 1: using quick sort. Not a good approach. O(n^2) in worst case.