Groups sorting in 4.0beta not working

The sorting of the subgroups does not yet work properly. The image shows the result of sorting subgroups on all entries. Hope this will improve for the final release.

Please report bugs at the usual place.