TSortedMap is not supported as a UPROPERTY. Only TMap, TSet and TArray are the containers that are supported like this.
Option 1: Don’t declare it as a UPROPERTY. Since you don’t have any UObject*'s to keep alive you don’t have to declare it as a property. You’d have to write separate functions to work with it in from blueprint or to do any serialization.
Option 2: Use TMap instead. The one additional change you’d have to make will be to make a USTRUCT with a TArray as a member because UPROPERTY doesn’t support containers nesting each other directly.