Menyortir Python baris tertentu

from operator import itemgetter

arr = sorted(row, key= itemgetter(k))

for i in arr:
      print(*i)
Andrei Raphel Amang