diff --git a/tests/smbo/TransferTest.php b/tests/smbo/TransferTest.php
index <HASH>..<HASH> 100644
--- a/tests/smbo/TransferTest.php
+++ b/tests/smbo/TransferTest.php
@@ -24,6 +24,9 @@ class TransferTest extends SMBOTestCase
         $this->assertEquals(100, $boi->reload()['balance']);
 
         $data = $t->export(['id', 'transfer_document_id']);
+        usort($data, function($e1, $e2) {
+            return ($e1['id'] < $e2['id'] ? -1 : 1);
+        });
         $this->assertEquals([
             ['id' => '1', 'transfer_document_id' => '2'],
             ['id' => '2', 'transfer_document_id' => '1'],
Sort array before compare - not doing this, made testTransfer() fail on some occasions