Getting the index position of a record in a row must iterate over the total order of all records.