checking point sorted