Scripts to set priority, and sort a project by priority

I don’t know if you noticed, but in your priority script, you are checking for effort twice (instead of checking for effort once, and then for result). I am looking forward to implement this on some of my documents.

@complexpoint, Is there any way to run the sorting script on all my task paper documents and create a new file with the results?