sort contacts in the roster by jid if there's no nickname specified