Fix sorting of the orderInfo history