Swapped queries order