function I=orderrows(X)
% orderrows - return sort order
%
% orderrows :: [[N,M]] -> [[N]->[N]].

[Y,I]=sortrows(X);
