static List <Ordering> SplitOrderingString(string orderString) { string[] orderings = SplitWithRemoveEmptyEntries(orderString, ','); List <Ordering> orderingList = new List <Ordering>(orderings.Length); for (int i = 0; i < orderings.Length; i++) { orderingList.Add(Ordering.Create(orderings[i])); } return(orderingList); }