Python Built-In Function sorted(): Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
=External= | =External= | ||
* https://docs.python.org/3/howto/sorting.html | |||
* https://www.geeksforgeeks.org/sorted-function-python/ | * https://www.geeksforgeeks.org/sorted-function-python/ | ||
=Internal= | =Internal= | ||
* [[Python Language Functions#sorted|Python Functions]] | * [[Python Language Functions#sorted|Python Functions]] |
Revision as of 00:29, 11 February 2023
External
Internal
Overview
Sorted() sorts any sequence (list, tuple) and always returns a list with the elements in a sorted manner, without modifying the original sequence.
Also see: