how can I sort Array in Object Array with element key ?
Please see picture for more info :
So for example in picture you can see we have 8 object now , so we want to sort 8 object with key in new array for example sort 8 object with "parentId" key in array or "categoryName" key in array !!!
But I think we have a problem because we can't access to key in new array !!!
So I think this code can't help to me :
Array.Sort....
Now how can I sort object with array key like this ?
Kind regards