curious; why do we need to sort these nodes?