Sort the output

This should stop re-ordering of the imagery.* output every time it is run on a different computer