Fix sorting

Sort log entries numerically.