Created methods to sort direct messages in groups

Groups are organized by users