function sortUp extends Icons.Function; input Real[:] x "x unsorted"; output Real[n] y "x sorted increasing"; output Integer[n] i "indizes of sorted x"; end sortUp;