Relation between ordering and shear thinning in colloidal suspensions