Create a Dir node, point it at a dir, add a sort node, the duplicates pin is enabled by default, the output of the node is text, change the pin to off, and you get a file path…
already fixed: Sort (String) outputs only 'text' - bug - Forum
you can check in latest alpha…
Ah Cool
Thanks Joreg, found it before, but again today opening an old patch and seeing nothing! Good to see its fixed :)