Maybe we can call collect()
on the iterator to get a vector and use the .reverse()
function on the vector
NZBCJOC26DV4MPTK7SYSYWYW25KRWP763DPOVZG5NNMV3BRGSBHAC
KD4JIMAE6M2LFWEHFPEL4RTRV7UWYWNGGS52N2TKQ42ZNFSNLCEQC
Thanks for your change, but I decided to fix the root cause of the problem instead.
From what I can tell,
pijul ls
just uses theWorkingCopyIterator
, so this iterator probably reverses the file names.