I have a groovy script that logs into a device and dumps its log file into a variable. The problem is the way its stored in the device. It starts with the oldest event first