[Fix Bug 880016] Don't pass empty string to group sort in a cleaner way.
Merge pull request #508 from glogiotatidis/group-listing-again

Group listing again