Skip to content

Glossary: Python Basics

.sort()

Also written: sort

A list method that reorders the list itself and gives back nothing. Unlike `sorted()`, it does not make a new list.

Where the book teaches it

Related terms

max, min, sum, sorted