Stable order for generated tests