sort 2d array `matrix` by row with index 1,"sorted(matrix, key=itemgetter(1))"