Array Sorting In Minimum Time Complexity