pub fn sort_path_length(input: String, invert: bool) -> String
Expand description

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