GS-11422
tensor layouter now sorts nodes according to connection relationships as well.