pub fn sort_path_length(input: &str, invert: bool, output: &mut dyn Write)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