Added auto-sorting of map to put .java files first