Interplay between productive traits, the social rank and the cow's stability in the order of entrance to the milking parlour