implement sort tool  for near point sentence