How do I access the members of a TMap in a predicate for ValueSort()?

This will sort by smallest.

UFUNCTION(BlueprintCallable, Category = "ExBPFL")
	static void SortMapByFloat(const TMap<int32, float>& Src, TMap<int32, float>& outMap)
	{
		for (const TPair<int32, float>& entry : Src)
		{
			outMap.Add(entry);
		}

		outMap.ValueSort([](float s1, float s2)
		{
			return s1 < s2;
		});
	}