Fix: wrong usage of reduce function when sorting order_items.
Merge pull request #29 from gregwym/fix-detail

Fix: wrong usage of reduce function in sorting order_items.