changed to dual key for sorting of log entries