The index is used to sort data in a table by the fields added to the index. Fields added first have higher precidence than fields added later when sorting.
Parameters:
name
Name of the field to add.
Returns:
A reference to the index description. This allows calls to add_field to be chained together in a single statement.