Fixed Generator function: std::list sort and removeif requires strictly inferior, not inferior or equal.