11
I have a problem that I have to perform sorting in memory of a high number of items and I would like to know which algorithm that the . NET uses to sort when we call the method Sort()
from a list, for example.
I need to know because I realized that my data comes with a certain sort, so it needs a few changes, and depending on the case I can get better results applying different algorithms.
Which
Sort()
ClassyArray
?– Maniero
I’m using a list, I don’t know if it’s the same, it would be: mylist.Sort() and me passing my Comparer as parameter.
– Pedro Henrique