mirror of
https://github.com/Qortal/qortal.git
synced 2025-03-31 17:25:54 +00:00
Sort hosted data in reverse order (newest first)
This commit is contained in:
parent
13450d5afa
commit
fcdcc939e6
@ -292,6 +292,9 @@ public class ArbitraryDataStorageManager extends Thread {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Sort by newest first
|
||||||
|
arbitraryTransactionDataList.sort(Comparator.comparingLong(ArbitraryTransactionData::getTimestamp).reversed());
|
||||||
|
|
||||||
// Update cache
|
// Update cache
|
||||||
this.hostedTransactions = arbitraryTransactionDataList;
|
this.hostedTransactions = arbitraryTransactionDataList;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user