reorder log output