Hi there, just wondering if anyone knows this. What would
players = players.OrderBy(item => item.userVariables.Score).ToArray();
do to an array of four objects, if two of the items in the array were of equal value? would it return null?
thanks.
Hi there, just wondering if anyone knows this. What would
players = players.OrderBy(item => item.userVariables.Score).ToArray();
do to an array of four objects, if two of the items in the array were of equal value? would it return null?
thanks.
It will return the sorted array, with the two equal values in their original position respective to each other.