added comparability for Transaction based on timestamp and on amount.