diff --git a/alethzero/plugins/blockchain/AllAccounts.cpp b/alethzero/plugins/blockchain/AllAccounts.cpp index 12f17d33e..7a133094c 100644 --- a/alethzero/plugins/blockchain/AllAccounts.cpp +++ b/alethzero/plugins/blockchain/AllAccounts.cpp @@ -112,8 +112,10 @@ void AllAccounts::on_accounts_currentItemChanged() try { auto storage = ethereum()->storageAt(address); - for (auto const& i: storage) - s << "@" << showbase << hex << main()->prettyU256(i.first) << "    " << showbase << hex << main()->prettyU256(i.second) << "
"; + u256s keys = keysOf(storage); + sort(keys.begin(), keys.end()); + for (auto const& i: keys) + s << "@" << showbase << hex << main()->prettyU256(i) << "    " << showbase << hex << main()->prettyU256(storage[i]) << "
"; s << "

Body Code (" << sha3(ethereum()->codeAt(address)).abridged() << ")

" << disassemble(ethereum()->codeAt(address)); s << ETH_HTML_DIV(ETH_HTML_MONO) << toHex(ethereum()->codeAt(address)) << ""; s << "

Creation Addresses (" << ethereum()->countAt(address) << "+)

";