Polyline geometry rendering color and order

Could you show how you’re currently adding these lines with a Sandcastle example we can run? See: How to share custom Sandcastle examples.