Is there any node that sort cables nicely?

I did not know the replace node, that would be super useful. Do I have to write FROM “,” to “” (i mean from coma to nothing)