Sort directory-list

Hi everyone,

I'm processing a directory containing files with names like something1, something2, ..., something10, something11, ..., something100, something101...
This messes up the sorting when I'm reading those files with p:directory-list, as someting10, something11, someting100, and something101 come before something2. I could preprocess the files with an external script to fix the numbering, but I was wondering if there is something I could do from within the pipeline. I haven't seen attributes on p:directory-list that would help with that.

Best,
Denis

Received on Thursday, 21 November 2024 14:43:39 UTC