DEV Community

Cover image for Fundamentals of Sorting in Python
nivedita310
nivedita310

Posted on

Fundamentals of Sorting in Python

The easiest way to sort is with the sorted(list) function, which takes a list and returns a new list with those elements in sorted order. The original list is not changed. Sorting is a process of arranging items in ascending or descending order. This process can be implemented via many different algorithms.

For more details please go through below link:
https://www.devglan.com/python/sorting-in-python

Top comments (0)