sort resource files on build page

and add basic styling
Merge pull request #4913 from dimagi/sort-resource-files

sort resource files on build page