Returns the interception of two ordered arrays