sort nodes by position