Frage im Vorstellungsgespräch bei Google

Sort a nested array ordered by the second element in the index