Content of percentrank1.xq example

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

excel:percentrank((13, 12, 11, 8, 4, 3, 2, 1, 1, 1), 2)