Content of rank2.xq example

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

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