Kai Meyer: > Looking at std.algorithm, I think what you really want is minCount: > http://www.d-programming-language.org/phobos/std_algorithm.html#minCount It's a bad design. Bye, bearophile