Frage im Vorstellungsgespräch bei Spotify

Live code to sort a multi dimensional array with least time complexity