Pregunta de entrevista de Shopify

Sort a multi dimensional array by one of the sub-elements.

Respuesta de la entrevista

Anónimo

11 nov 2021

Was able to use the javascript sort function, but put in my own custom sort logic to address the proper child array elements.

3