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