Sort the input to make the output more consistent.

svn path=/trunk/tools/; revision=83657