Jump to content
Sign in to follow this  
resonanz

Sort Arrays

Recommended Posts

I have two UT_ValArray<float> and would like to sort one array by values of the other. In the documentation I found UT_ValArray.sort(comparator) but I have no idea how to write the comparision function. Would be great If someone with more programming experience than I have could help me out.

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×