Update and sort CMakeLists.