I have the following array returned from a webservice (in the image I identify what I want, below the text to copy paste if necessary):
Array([DataTable]=>Array([ID]=>STOCK[Line]=>Array([0]=>Array([Fields]=>Array([0]=>Array([FieldID]=>ItemCode[Value]=>1GADEME010001)[1]=>Array([FieldID]=>ItemName[Value]=>Sucatadeferro)[2]=>Array([FieldID]=>FrgnName[Value]=>Array())[3]=>Array([FieldID]=>ItmsGrpCod[Value]=>112)[0]=>Array([Fields]=>Array([0]=>Array([FieldID]=>ItemCode[Value]=>1GADEME010001)[1]=>Array([FieldID]=>ItemName[Value]=>Armáriodeferro)[2]=>Array([FieldID]=>FrgnName[Value]=>Array())[3]=>Array([FieldID]=>ItmsGrpCod[Value]=>112)
Giventhatthearrayhasnrecords,Iwanttosortthearraybyitsname,whichisunderlinedinred.Itriedusing link but without success.