I have two tables, like this:
Table 1
A 1 FirstPhase 2 SecondPhase 3 ThirdPhase 4 FourthPhase
Table 2
A B 1 Item1 FirstPhase 2 Item4 FourthPhase 3 Item2 SecondPhase 4 Item3 ThirdPhase
The result I want to achieve after sorting is:
A B 1 Item1 FirstPhase 2 Item2 SecondPhase 3 Item3 ThirdPhase 4 Item4 FourthPhase
How can I sort the second table by column B
according to the order of column A
in the first table?