Sort working unexpectedly

I’m building this script for someone, and the surfaces from Rhino are split for fabrication purposes. I’m re-joining them in gh to sort and label the different panels. Yet, the data coming out of the merge faces won’t sort. Apologies if I’m missing something super obvious, I’m just confused because there are no errors, and other data is working fine.

Thanks in advance.

Sort working unexpectedly.gh (800.9 KB)

I know this is silly but it works :winking_face_with_tongue::
Sort now working as expected.gh (818.9 KB)

That makes sense, Thanks!