diff --git a/src/cardano_account_pandas_dumper/cardano_account_pandas_dumper.py b/src/cardano_account_pandas_dumper/cardano_account_pandas_dumper.py index 84f8482..0dcd57e 100644 --- a/src/cardano_account_pandas_dumper/cardano_account_pandas_dumper.py +++ b/src/cardano_account_pandas_dumper/cardano_account_pandas_dumper.py @@ -452,5 +452,5 @@ def make_transaction_frame(self) -> pd.DataFrame: ) frame = frame.merge(balance, left_index=True, right_index=True) frame.drop_duplicates(inplace=True) - frame.sort_values(by=frame.columns[1], inplace=True) + frame.sort_values(by=frame.columns[0], inplace=True) return frame