Compare sorted neighbourhoods