function LastWriteWins (a, b) {
  // Ultimate conflict resolution (take the first/left arg)
  const First = (a, b) => a
  // Sort two entries by their clock id, if the same always take the first
  const sortById = (a, b) => SortByClockId(a, b, First)
  // Sort two entries by their clock time, if concurrent,
  // determine sorting using provided conflict resolution function
  const sortByEntryClocks = (a, b) => SortByClocks(a, b, sortById)
  // Sort entries by clock time as the primary sort criteria
  return sortByEntryClocks(a, b)
}
Sort two entries as Last-Write-Wins (LWW).

Last Write Wins is a conflict resolution strategy for sorting elements
where the element with a greater clock (latest) is chosen as the winner.

@param {Entry} a First entry
@param {Entry} b Second entry
@return {number} 1 if a is latest, -1 if b is latest
@private