message: Port height and timestamp sorts
diff: @@ -153,6 +153,16 @@ bool getAddressesFromParams(const UniValue& params, std::vector<std::pair<uint16
  return true;
  }
  +bool heightSort(std::pair<CAddressUnspentKey, CAddressUnspentValue> a,
  + std::pair<CAddressUnspentKey, CAddressUnspentValue> b) {
  + return a.second.blockHeight < b.second.blockHeight;
  +}
  +
  +bool timestampSort(std::pair<CMempoolAddressDeltaKey, CMempoolAddressDelta> a,
  + std::pair<CMempoolAddressDeltaKey, CMempoolAddressDelta> b) {
  + return a.second.time < b.second.time;
  +}
  +
  // Needed even with !ENABLE_WALLET, to pass (ignored) pointers around
  class CWallet;
  