cmake filter updated tried sorting using metadata (too slow)