If you want a faster result or have data in a large amount, you can use parallel processing for sorting.
Whenever you use the Sort (), there is not only one sort function like quick sort or some other sort function under the function. There are different sorting algorithms. Depending upon the type of data you enter and the circumstances, it picks the right sorting algorithms and sorts your data.
Types of Sort Function
There are four different methods or types of how we can use the Sort ().
Sorting integral data types
Sorting user-defined data types
Sort using a function object
Sort using the lambda expression
Do'stlaringiz bilan baham: |