I need in C# to sort some distances in some objects which are in float. I use delegate and Array.Sort to sort them but it seems that I can't use float.
How can I keep the precision of those float when converting to int?
Is it possible to use Array.Sort with float instead of int in return?
Without using LINQ.