| method | examples |
|---|---|
sort |
|
|
|
reverse |
|
In addition to the list method sort there is the built-in function sorted.
It accepts a list and return a new, sorted list!. The original list is untouched.
| method | examples |
|---|---|
sort |
|
|
|
reverse |
|
In addition to the list method sort there is the built-in function sorted.
It accepts a list and return a new, sorted list!. The original list is untouched.