235236237238239240241242243244245
else sortedBase = castState.base.sortAscending(castState.criterion); // Select the first N number of the sorted elements and return that // selection. return sortedBase.interval(1, Math.round(castState.N)); } } }