spree/spree — pull request #5029 by magnusvk (2014-07-22 16:19:47+00:00)
Title: Order history should be by completed_at, not created_at

Otherwise, orders that use an old cart appear way out of order. This will show
completed orders first, ordered by completed_at desc, then the rest ordered by
created_at desc.

Sorry for the piecemeal PRs here...