increment the re-order sequence number For each record that was not re-ordered this time through, read the record re-compute the key based on the age and poster ID write the new key/value pair (with the new re-order number) delete the old key/value pair