Sort functions within files to minimize future merge conflicts.

Please keep sorted.