works for a slightly larger example, floating point exception? (see ladder.node)
I guess the sort is causing the floating point exception? doesn't even complete sort on tri.node
it looks like the sort is messing up the right index..?