Bug fix: compare chronological expenses correctly

Before two chronologically preceding expenses were compared by the sum of
their year, month and day. This is not correct they should be compared by
a string of year, month and day as this way it will always be unique,
unlike the sum.

- compare two expenses by the String of year, month and day, instead of
  their sum.