WoW targeting is closest to furthest starting with closest if you had no target. There, I used this macro: Cleartarget, then Targetenemy on my mouse wheel button, which always picked the closest thing in front of me Then, TAB stepped outward. It's also restricted to a frontal cone, so it won't get stuff behind you.
Here, I just use cone target mode, but it keeps grabbing things off to the side unless I'm almost within aggro range of higher level mobs.