fixed bug with reversed log sorting