From 1261e3ef301b70cede5641f3eaf06ee6fb46bfe7 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Fri, 11 Aug 2023 02:53:35 +0300 Subject: [PATCH] wallets: sort by id --- src/wallet/list.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wallet/list.rs b/src/wallet/list.rs index 9b219b8..bb1c2a8 100644 --- a/src/wallet/list.rs +++ b/src/wallet/list.rs @@ -53,6 +53,8 @@ impl WalletList { } } } + // Sort wallets by id. + wallets.sort_by_key(|w| w.config.id); wallets }