Crate sort_path_length

Source

Functionsยง

sort_path_length
It reads the input as lines and parses each one as a path and then sorts them out by the length of their path components. Pass invert as true to invert the order