Time Complexity Of Sorting In Python Using For Loop