function I=order(X)
% order - return sort order of given
%
% order :: [[N]] -> [[N]->[N]].

[Y,I]=sort(X);
