sorted root entities by name (not case sensitive).

Couldn't find existing code that sorted entity headers, so just passed a simple comparator to Collections.sort.