Time Complexity Of Sort Method In Python