sort the imports (i.e. move reflect after collection, and all hive.ql's should be grouped together)