There's actually two possible answers to that question. In general, two officers of the same rank are accorded privilege according to seniority - ie, who had the rank first.
Blair was, I think, promoted to Colonel just prior to the K'Tithrak Mang operation, then reduced in rank to Captain as a...