109. Sort Rows by a Given Column

Easy

Return the rows of 2-D array X, reordered so column col is in ascending order.

Implement solve(...)