reverse log order