Fix sorting

Use numeric sort to sort log entries.