Add a secondary order statement

We are using the loggable extension with custom actions. Because some of these actions don't introduce changes to an entity, we don't increment its version. This results in multiple log entries with the same version.
Currently, when fetching the history of an entity via the LogEntryRepository, the entries are only ordered by their version.
This pull request adds a secondary order statement which also orders by the time the log entries were created.