Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Add some FILESORT_* #defines and use them.