Right, so I've gotten some help but need some more, I have a pretty good understanding on how to sort an array alphabetically. But now I need to sort it numerically. It's probably a syntax error near "my @test = (sort {items{$a}} <=> {items{$b}} @menu)"
Had it been a hash with two keys I would have a solution, but since this array contains three categories it becomes difficult for me. Obviously looking for some help along with an explanation as possible as I'm eager to learn. Thank you!
my @test = (sort {price{$a} <=> {price{$b}} @menu)