Make user sort in reports do the rigth thing for enumerations (comparing the value as int instead of comparing the name).
Make user sort in reports do the rigth thing for enumerations (comparing the value as int instead of comparing the name).

This hardcodes the name of those enumerations, but as there's no way of introspecting the schema, this is better than nothing.

Contributed by vnaum on #4715, thanks!


git-svn-id: f68c6b3b1dcd5d00a2560c384475aaef3bc99487@6842 af82e41b-90c4-0310-8c96-b1721e28e2e2

moreati/trac-gitsvn,dokipen/trac,exocad/exotrac,dokipen/trac,exocad/exotrac,moreati/trac-gitsvn,dafrito/trac-mirror,exocad/exotrac,dokipen/trac,moreati/trac-gitsvn,moreati/trac-gitsvn,dafrito/trac-mirror,exocad/exotrac,dafrito/trac-mirror,dafrito/trac-mirror