In general, your question to sort all variables doesn't make sense. Once you sort by variable V1, this may make V2 out of sort order, and if you sort by V2, this may make V1 out of sort order.
So, when @Kurt_Bremser asks "What is your intended result?", I also want to know in words what you mean by "sort all variables". Showing us for this extremely small data set may not be sufficient. (And by the way @pavank you should always explain in detail what you want, and give examples of the desired output, in your first post, without us having to ask).
... View more