added isType method for order class to check orderType of order against specified order