4.12 Get ranking of members (simple)

 

A
1 =[3,5,6,7,1,2,1,6,654,32,13,56,13,76,87,98,null]
2 =A1.(A1.rank(~))
3 =A1.(A1.rank@z(~))
4 =A1.(A1.rank@i(~))

A2 Find ranking of all members in A1; by default, members will be ordered in ascending order.
A3 Find ranks of each member in A1; @z option enables ranking members in descending order.
A4 Find ranking of all members in A1; by default, members will be ordered in ascending order. @i option enables treating tied ranks as one rank, which we call compact ranking.