Sort user graphs by username, fixes #209

Patch submitted by @ciranor.