add sorting while generate autoload files