ENH Process data in canonical (sorted) order

This avoid introducing small variations on the results just based on
filesystem ordering.