Write A Program To Sort The Given Array Leetcode