Fix order of logs in index (task #5830)
Fix order of logs in index (task #5830)

Switch to `ID` field for ordering the log entries in index, as it
is auto-incremented.  `created` field has a precision of 1 second,
therefor sometimes causes issues with ordering where multiple log
entries were created within the same second.

QoboLtd/project-template-cakephp,QoboLtd/project-template-cakephp,QoboLtd/project-template-cakephp,QoboLtd/project-template-cakephp,QoboLtd/project-template-cakephp