You can modify DataGroup annotation to display in the order you wish.
The display order can be achieved by using drawing rules and information positioning.
First position the size of the pipe using the 0 for the position
Pipe type is positioned using the 50 (for 50%) value
Elevation is positioned using the 100 value.
Information can be placed above the element, below, or stacked.