>>6
The assumptions we have in that example include:
The whole list is not completely sorted
The whole list needs to be sorted in order
The number of entries in the list are larger than available memory
I wonder how they do things in a relational database. I'm guessing they sort the list by keyfields before storing the entry in the database.