issue #17: we were using wrong compare function to sort asks and bids