Content of rank1.xq example

import module namespace
excel="http://zorba.io/modules/excel/statistical";

excel:rank(3.5, (7, 3.5, 3.5, 1, 2), fn:true() )