Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
The MergeSuperSegments function creates the output file in the sorted order already, there is no need to re-sort it.