comparator function for sort for descending order in c# code example
Example: c# sort array
int[] sortedCopy = from element in copyArray
orderby element ascending select element;
int[] sortedCopy = from element in copyArray
orderby element ascending select element;