Question With Custom Sorting A Dictionary

To make the custom class ( in your Case the compairer)available IT is common to Provide the implementation by a nuget package and add IT to the Project via dependency manager

Calling the constructor give a try on

New SortedDictionary(Of String, Dictionary(Of String, String))( New DicComp()) From …

The exact Sort criteria / Evaluation still ist Not enough clear derivable from your Posts.

We Setup custom Sports eg by an Array / Dict… And use the Item Position Index for the sorting.

So decide If you want to Focus on compairer and its Provision or on custom sorting

For Last have a Look Here

https://forum.uipath.com/search?context=topic&context_id=325802&q=Custom%20Sort%20%40ppr&skip_context=true

And Here