rank

fun rank(metric: String, vararg within: String, direction: Sort.Direction = Sort.Direction.DESC): DerivedExpression

The dense rank of metric among the groups sharing this group's within keys.