Change GetBestTarget to order PriorityTargets by IsInOptimal