Time Complexity Of Sort Function In Javascript Geeksforgeeks