Index databases.

Indexing is accomplished by applying an order to the sorting of multiple fields and should require determining the order of sorting that is most helpful to the user.