fix(generator): remove invalid sort on elements

cacheUris are sorted later.  sorting the elements can be invalid (e.g.
SimpleStringLiteral has == but no compareTo)

Closes #554