changes to orders

added total number
reordered all orders by user name
added caching
fixed and updated spec