Advanced Algorithm scripting: Inventory update Order of items

Advanced Algorithm scripting: Inventory update Order of items
0

#1

Hi

I would like to find out if the order of the inventory should really matter as I do return all the correct inventory amounts, but can`t pass the question as the inventory is not in the same order as the test cases.


#2

The ordering requirement is in the challenge description: “The returned inventory array should be in alphabetical order by item.”


#3

Oh didn`t see that, thanks