improve factor ordered