An identifying code and description of a set of data fields grouped in a sequence. These data fields are used in statistics reports and displays. When a report or display is generated, the fields are filled with data from the database and displayed in the report or display according to the sequence defined in the sort code.