Some CAS alternatives :

The "topk" or "groupby" actions do some basic ranking.

proc cas; simple.topk action
proc cas; simple.groupby action