Sort the source file list within the CMake configuration

and strip a couple trailing spaces.