Сортировка списка в Python: разница между sorted и sorted https://ru.from-locals.com/python-list-sort-sorted/