Input (grade 13): The main town in a region (if applicable) often gets the first ZIP codes for that region; afterward, the numerical order often follows the alphabetical order.
Output (grade 9): The main town in a region (if applicable) often gets the first ZIP codes for that region. Other towns are often given ZIP codes in numerical order alphabetically.