DR 7.0.1

In Group Sort Type set to "Top N" then you base the Sum to sort on on a function it doesn't work

It does work if you base it directly on a table.field sum.