The following graphic shows the specification of a compound index of the "first" and "age" fields in ascending order: