I have scoured the internet and Google searched this for days and can't find how to do this.

I have 3 columns and dozens of rows of randomly entered data, something like below.

d f b
h i g
c e a

I wish to sort it left to right across the row for 3 columns and then continue on the next row like this.

a b c
d e f
g h i

Please help. I can't find how to sort in this fashion on any tutorial or forum.
Thanks
Scott