First version of argsort.m