Ordering resources by node order