findit

Fild files

View project on GitHub

Sort list method

Aliases: order()

The sort method is used to sort the arguments in a list.

For example:

findit  -d 'name: `name` first 5 files: `files.map($file $file.name).sort().take(5)`' -w 'IS DIR'

will show all the directories with the first five files (order by name).