Node ordering in groups