I've got a hash with keys of the following form: A23
, A03
, A200
, etc.
As I understand it, keys in a hash are not exactly sequential. If I build the hash by first adding A23
, A03
, and A200
, then I can't be sure they will be in that order when I iterate over the hash - correct?
How would I be able to loop from one key in a hash, to another key, visiting the keys in "added" order. If there is no such thing as "added" order with hashes, then I could sort the keys alphabetically.