Sorting with help of two columns

Sorting with help of two columns

How to sort first in one column and then in a second column keeping the first sorting intact?