Say a party member (tank) marks 3 enemies as 1,2 and 3 (for the attack order)

Is there a macro to target enemies marked as each number?