Removing ordering code from orders

This code got moved to the resources file.