IRCConnection: sort users by their mode and their nickname

Currently, users are only naturally sorted which leaves their prefixes
in the mix. While this gets the ordering of users correct, it also
neglects the priority of their prefixes. For a cleaner looking sort,
users should first be sorted by their prefix, and then by their
nicknames.