MATLAB: How can i do lexicographic sorting of feature vectors

digital image processing

I am doing a project in which we have to sort the feature vectors lexicographically. I understand that lexicographic sort means dictionary sort, but i am not able to code it in matlab. Any help in this is highlay appreciated.
Related Question