Add comparators to sort the list of changes and the list of rows