Python Built-In Function sorted()

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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.