Sort 2D Array By Multiple Columns: Sorted Function In Python

preview_player
Показать описание
If you want to sort your 2D array by multiple columns without mutating your original list of lists then you'll want to use the sorted function.

It returns a new 2D array and leaves the original intact.

Рекомендации по теме