Added sorting for the buy/sell orders