Innovative approaches based on a reactive sorting algorithm for sum and difference antenna pattern design