PIM-2317 : add ORM sorter for in_group