LeetCodeSort the Students by Their Kth ScoreSort the Students by Their Kth ScoreMediumArraySortingMatrixSolution export function sortTheStudents(score: number[][], k: number): number[][] { return score.sort((s1, s2) => s2[k] - s1[k]); }LeetCodeSort the Students by Their Kth Scorehttps://leetcode.com/problems/sort-the-students-by-their-kth-score