Issue #2677 first commit for sorting private way points