Optimising order management