My understanding is that the retainer that most recently listed an item/adjusted its price is listed first, assuming price and stack size are the same. So the listing order is by price, then quantity, then by newest.