Added test sorting by group, priority and name