Sort paths in output
Improve initial parameters