fix noSorting, add testcase against bitcoind output