Order history should be reverse chronological. Fixes #5024