Not sure about your expected results - are they really in the right order? If Mario is fourth and Tom is third in sector A, why are they paired with third and fourth in sector B respectively?