ordering function

Partial node orderings