Group and filter results

Thank you for your tip, but thats what i wrote i already tried.
=> ran into problems with paging.