I have the list as
@emprecords = (
['pavan',24,25000],
['kumar',25,35000],
['ajay',22,35000],
['vijay',25,20000]
);
i need to sort them by lowest age first with highest slary first .