Most efficient way to sort a 2d array with sorted rows What is the fastest and most space-efficient way to sort a 2d array with sorted rows: