Hello,
I have tried to sort the option set value but it is sorting based on the Alphabet , it should be sorted based on option value
I tried the below code,but not sorting based on the option set value,please kindly do the needful
QueryExpression filBusinessInventory = new QueryExpression("new_filbusinessinventoryfa");
filBusinessInventory.Criteria.AddCondition("createdon", ConditionOperator.On, dateString2);
filBusinessInventory.Criteria.AddCondition("statecode", ConditionOperator.Equal, "Active");
filBusinessInventory.ColumnSet = new ColumnSet("createdon", "new_customer", "new_month", "new_year");
filBusinessInventory.AddOrder("new_month", OrderType.Ascending);
filBusinessInventory.Orders.Add(new OrderExpression("new_month", OrderType.Descending));