Sorting arrays using sorting function

Hi, all!
How do you sort Array by Atan2 value of coordinates?
Only way I found is to create ad-hoc class which overrides cmp operation, but it looks like really overkill…

There is Urho3D.Sort with predicate, why no?

The predicate part is not exported to AngelScript, which makes using it quite a challenge… :frowning: