The 2 medians should be substantially the same. The Py is calculated from all the same values as Pt, except 2, at the edges. So is safe to speak of only one median.

... and in pairs in the natural order so that the sense of each pair is (Pt,Py), over time.