Sorting and Searching in Python
tuts+ -

If you were given a piece of paper with a list of 1,000 names, and you were asked to find some name, but this list was not in alphabetical order, it would be very frustrating, wouldn't it? Putting that list in order, although it takes a long time, makes finding names much easier. Thus, having things in order is a natural desire we human beings have, and searching this list would clearly take less effort than searching an unordered list. 

Built-in Sorting Methods and Functions in...


In related news