Leetcode Array Sorting Algorithms