Last updated 1 year ago
Was this helpful?
There is a dir builtin command which returns a list of IO::Path objects. We stringify them all with a hyperoperator before sorting the strings.
dir
.say for sort ~«dir