Originally Posted by Moomba
Think I have blown this one out of the water.
My order is AA redemption, then BA ex EUR paid, Agent ticketed AA stock, BA paid, BA paid, BA miles, BA paid.
Next....

Elaborate as the theories may be, there is a relatively straghtforward answer, at least for BA flight numbers

I cannot vouch for a mix of bookings on different carriers.
Bookings are sorted cyclically by flight number, BA0xx, BA1xx, BA2xx. For flight numbers preceded by 0, drop the 0. The second digit counts for the sort.