Switch order of entry and tag, switch which belongs to which