Given a set of random integers {0,5,100,65,...,0,1,2}, is there a mathematical method existing to construct a parametric form $f$ (the number of parameters $<<$ the number of integers) so that given any integer $x$, $f(x)$ gives the relative position (sorting position) of $x$?
Thanks!