Added optional reverse order logging