Refactor org-mode sorting to use common code, baseline work-in-progress with weekly reports