Adding explicit 'type' argument to mixedsort()