backport user graphs sorting fix, refs #209
Merge pull request #869 from obfuscurity/backport_sort_user_graphs

Backport user graphs sorting fix to 0.9.x