I don't know if this will help, but I made these macros to help me with targeting on controller (I play on console, btw):

General Targeting macros:

1. /targetenemy # Targets the closest enemy in line of sight.

2. /battletarget # Targets the closest enemy attacking you.


Crystal Conflict Targeting Macros:

1. /target <e1> # Target the first enemy on the enemy list

2. /target <e2> # Target the second enemy on the enemy list

3. /target <e3> # Target the third enemy on the enemy list

4. /target <e4> # Target the fourth enemy on the enemy list

5. /target <e5> # Target the fifth enemy on the enemy list

You can also adjust the tab-targeting. I've found setting to cone-targeting seems to work best. I haven't experimented with the prioritization settings (probably should). Not sure how it is on PC, but I know, for console, you can find the targeting settings under Character Settings -> Control Settings -> Target. Scrolling down, you'll see two main sections, "Auto-Target Settings" and "Target Type"