Total Order Qty price list

We have price breaks that are added to different order qtys. The issue is it's not based on part but the entire order. So no matter what parts are in the lines if they all sum to X qty it would use X price list. If they all some to Y qty we use Y price list. Any thoughts on how to automate this?