It seems that the link is broken and doesn´t work , but here is the idea...
"The Aggr() statement is currently restricted in capability by not encompassing any dynamic sort clause. Dynamic sorting in an Aggr() statement is a pre-requisite in order to enable the use of range functions (rangesum, rangeavg...) which are usually needed for cumulative calculations."-jvg