I think I fixed the logic by making a parallel array to hold the month names (since the data I'm getting should be in order) and keeping my original hash keyed to the month names.  Is there a cleaner way to do this?