How to group data from realmDB

@Maxim_Bunkov Are you able to share more code snippets so we can understand what is going on?