neighbor Sort