See this thread: Ranging over collection of data files with an explanation about the underlying concepts of maps (not sortable) and arrays (sortable).
Maybe try this approach:
- build a first array of the indexes of your data, the key array
- sort this array as you like: asc, describe, filter, whatever
- range over this sorted array and use these values to pull data from the original map by index