+ public int compare(@NotNull TransactionListItem a, @NotNull TransactionListItem b) {
+ final TransactionListItem.Type aType = a.getType();
+ if (aType == TransactionListItem.Type.HEADER)
+ return +1;
+ final TransactionListItem.Type bType = b.getType();
+ if (bType == TransactionListItem.Type.HEADER)
+ return -1;