Generally, we do sorting in a column from top to bottom. But, what happens if the data is in rows. Then you will have to sort from left to right. This is possible in Excel.
1. Select your data in the row.
2. Data tab> Sort
OR
Home tab > Sort & Filter
OR
ALT+DS
3. You will get following screen. Here, you may choose appropriate action.
4. Pressing OK brings us to Sort screen. There, you may choose Options to bring up Sort Options. Here, you can choose Sort left to right to affect sort.