Sort all the source lists, not only target.arm

This extends the idea of a8fc2f4ae to all source lists.