How to sort Sockets on Skeleton by alphabet?

Most 3D modeling programs have a functionality to auto name bones left and right. Ex: L. Hip, R.Forearm, L. Foot, Spine 1, if your going to be needing to access specific bones in unreal id highly recommend setting this up before import to the engine, as far as sorting though, you’d need to do some c++ work with getting socket names and checking chars and manually sorting them into an array