Hi everyone, I wonder if anyone could help me with this:

I have a lot of data that is arranged as so (e.g.):
X A B C D
1. 1 1 1 2
2. 1 2 2 3
3. 2 3 4 5
4. 3 4 5 6
5. 4 3 3 7
6. 2 2 1 3
7. 1 2 - 1
8. - 1
And I want to align the values by the highest value in each column, to end up like:
X A B C D
1. 1 ---- 2
2. 1 1 1 3
3. 2 2 2 5
4. 3 3 4 6
5. 4 4 5 7
6. 2 3 3 3
7. 1 2 1 1
8. - 2
9. - 1
As you can see, the highest values in each column are now aligned with each other, all in the same row. Is there any way to do this without me having to do it manually? (Disregard the hifens, it was just to keep the row/column formatting.)
Any help would be deeply appreciated!

Cheers