Rank Numbers

logic · N107 · starter-package 7.0.1

Assign descending competition ranks to numbers in input order. The highest gets rank 1. Equal values share a rank and the next rank skips over the tie.

Example

Connected values

{"items":[20,30,20,5]}

Result

{"ranks":[2,1,2,4]}

Connector data types

DirectionConnectorTypeRequired
Inputitems — Itemslistyes
Outputranks — Ranksliston success

Errors and recovery

Connect a list of finite numbers. Convert numeric text before ranking it. Ranks line up with the input order.