cmake: reorder projects placing feature specific first