Sorting actor array by Field, returns a sort organized by class, then field

I have borrowed the sorting code from the wiki page here:

and when using this custom blueprint node to sort an array of ‘AI_Char’ based on distance(float), it returns a sort of subclass, then distance. The array that I am plugging is of type AI_Char with multiple subclasses of AI_Char.

I have looked over the source of the wiki page and I’m unsure as to why it is grouping my actor’s subclass. Any tips would be appreciated =D.

Class tree: