[cmake] add ordering to subdirectory list