only do special sorting of real roots