diff --git a/smart_importer/__init__.py b/smart_importer/__init__.py index 0336928..1194690 100644 --- a/smart_importer/__init__.py +++ b/smart_importer/__init__.py @@ -19,7 +19,7 @@ class PredictPostings(EntryPredictor): @property def targets(self): return [ - " ".join(posting.account for posting in txn.postings) + " ".join(sorted(posting.account for posting in txn.postings)) for txn in self.training_data ]