I understand this in part is an issue with the fashion industry. AFAIK you might order 100 green S, 100 red M and you get 150 blue L and 50 red M (simplified example). Haven't done anything related to this in over ten years though. Things might have gotten better and depend on your scale/leverage.