Skip to content

Filepath Sort

Sort filepaths based on different criteria.

Inputs#

Port Description
Paths
List of filepaths to sort
Criteria for sorting the filepaths

Outputs#

Port Description
Sorted list of filepaths

Addendum#

Sorting Options#

1. Alphabetical#

Sorts filepaths in alphabetical order.

2. Reverse Alphabetical#

Sorts filepaths in reverse alphabetical order.

3. By Extension#

Sorts filepaths based on their file extensions.

4. By Directory Depth#

Sorts filepaths based on their directory depth (number of subdirectories).

5. By Filename Length#

Sorts filepaths based on the length of the filename (excluding the directory path).

ID: filepath-sort@v1