Matlab Sort One Array Based On Another