Have a look yourself about what is used in Array.Sort here:
MSDN Array.Sort()[
^]
If you know what Bubble Sort is, you should know that the time & space complexities of it is not good. There are better algorithms than that.
If Microsoft used any algorithm for sorting then they would they use a bad performance algo?
It uses IComparable interface. You can find the implementation example in the above link.