ZIP codes are numbered with the first number representing a certain group of U.S. states. The second and third numbers represent a region in that group of states or, in some cases, a large city. The fourth and fifth numbers representing a group of delivery addresses within that region. 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.