I'm using the App Store Server API's Get Transaction History.
If you specify DESCENDING for the sort parameter, receipts will be sorted in chronological order when verified in a sandbox environment, but in a commercial environment they will be in random order.
Is there anyone stuck with a similar problem?