I have followed the instructions in this post on how to sort categories. I have overridden GetDataAccessors in my factory class with the following :
Where comparer is my custom sort order. The list that is returned from this function is sorted the way I want it to (ie my comparer is working) however, the output in the property grid is not in the same order.
Am I missing something in regards to sorting these categories?
public override IList<AC.Primitives.IDataAccessor> GetDataAccessors(object[] values, AC.Primitives.DataFactoryOptions options)
{
List < AC.Primitives.IDataAccessor > list = List<AC.Primitives.IDataAccessor>)base.GetDataAccessors(values, options);
if (list != null)
{
list.Sort(comparer);
}
return list;
}
Am I missing something in regards to sorting these categories?