Currently, final linked images are sorted according to things like text before data.
-r files however, are only sorted according to the atom sorter, which is correct within a section, but not really across sections.
After discussing this with Nick, he said there was no reason for the difference, and so this patch removes all the special logic which avoided sorting -r files, and just uses the same sort for everything.
Is this a new requirement with this patch, or are you just documenting an existing requirement?