If I have to sort some list, say a, using the sort method
in Python such as below..
a=[3,7,1,0,2,8]
a.sort()
print a
What are the worst, average and best cases
of such programs in case of sorting ? And what complexities would they have in each ? What sorting technique does python use in this ?