Adding key to a date range aggregation

I was doing a date range aggregation with a series of date ranges, but ES returns them in descending count order, not how I submitted them.  Without the key, I didn't have a decent way of telling the aggregations apart to display to the end user.