removed type constraint T <% Ordered[T]