sort entity files by "sort" attrib then by role; mezzanines first

Sort on the "sort" field first, then by role.
Mezzanines should now appear before masters.