Need some help to find out the output of this Perl code

Hi guys, Please consider the following code segment and tell me what are the values of @y and @z after executing the code segment
@num = (2,16,4,32);
@y = reverse(@num);
@z = sort{$b <=> $a} @num;
