[LRC] Some variants of history sorting are broken
Issue generated from Tuleap's migration script. Originally submitted by: Emmanuel Lepage Vallee (elv13)
Many categories that should be sorted by integer IDs are sorted by their string representation
One of the bug was "always" there while the other one was introduced in the history model rewrite earlier this year