I'm happy to report that the sorting problems on Day 306 were grossly exaggerated by a typo in PushRect:
| rectangle2 ScreenArea = RectMinMax(Basis.P, ScaledDim); /* RectMinDim */
|
Casey was so close to cluing in on it too by the end of the episode. Such is the life of a streaming programmer I guess.