Sorted tasks

I think this will break config sections without prefix/suffix, such as http://hg.mozilla.org/build/puppet/file/a7d04f802105/modules/runner/templates/runner.cfg.erb#l23. This is why get_task_name() strips them.