Make PHP do the heavy lifting to order objects when they are versioned