Hello. I am trying to create a uniquevaluerender on a date field. the code below works just fine however the final product is always sorted with the newest date on the bottom, I need it the other way around. This is what it is creating.

this is what i need.

It doesn't seem to matter what order the records are in the featureclass, same results. Any suggestions on how to sort the uniqurenderer in descending order?
await QueuedTask.Run(async () =>
{
StyleProjectItem style = Project.Current.GetItems<StyleProjectItem>().FirstOrDefault(s => s.Name == "ColorBrewer Schemes (RGB)");
if (style == null) return;
var colorRampList = await QueuedTask.Run(() =>
style.SearchColorRamps("Yellow-Orange-Red (Continuous)"));
if (colorRampList == null || colorRampList.Count == 0) return;
CIMColorRamp cimColorRamp = null;
CIMRenderer renderer = null;
var fields = new List<string> { rmg.AlbertaWildfireTools.Core.Models.AlbertaSchema.IncidentFields.Default(AlbertaWildfireTools.Core.Models.AlbertaSchema.IncidentFields.FieldNames.field_FirProgressionProgDate )};
await QueuedTask.Run(() =>
{
cimColorRamp = colorRampList[0].ColorRamp;
var rendererDef = new UniqueValueRendererDefinition(fields, null, cimColorRamp,null,false);
renderer = featureLayer?.CreateRenderer(rendererDef);
featureLayer?.SetRenderer(renderer);
});
});