@CalcMgrSortAndReturn

Purpose:

Sorts items in the list based on the values and returns the top n elements

Syntax:

Java Class: com.hyperion.calcmgr.common.cdf.StringFunctions.sortAndReturn(String[],double[],int,boolean)

CDF Spec: @CalcMgrSortAndReturn(list,values,topN,sortAscending)