Hi,
Thank you for your trial.
Inspired by your idea, I'm thinking about new sort method 'Nearness sort' of
global(1)'s output. Basic idea is 'What will happen if we do not stop
"nearest process" on the way?'
Nearness sort is invoked by the following option:
$ global -x main --nearness-sort
Nearness sort is based on the following priority.
(<n> means priority. <n> has higher priority than <n+1>)
<1> files under the current directory
<2> files under the parent directory except for the files which have higher priority.
<3> files under the grandparent directory except for the files which have higher priority.
... (repeat until the project root directory)
In every priority, they are sorted by alphabetical order.
Is the explanation enough?
Any comment?