cosmetic: OrderBook: more small changes

Made compare function of asks and bids to be consistent through out all
the methods in OrderBook module.