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 8): The main town in a region (if applicable) often gets the first ZIP codes for that region.