Lists have two properties which determine how the entries are sorted: SortOrder and SortPosition. SortOrder is by default Ascending. The SortPosition property determines the position of the column in the sort order. A column with a SortOrder of 1 is the primary column which is used to sort the list. For instance if you had a three-column list with Employee Number sort order 0, Last Name sort order 1 and First Name sort order 2, the employee number would be ignored in the sort order and the entries would be sorted by last name and then by first name.