Yes.
Amendments get numbered in order of their passage, without any relation to their subject matter. Regarding the drinking age, 21 was the legal age of adulthood for some time; up until the 26th Amendment (1971), it was the legal voting age.