Code in MATLAB

Use the data sample below to create a function to display themax and min y value and the corresponding x value the min and maxoccur at in two ways:
1. sort the y column
2. use the min/max function
Here is the data:
No. x y No. x y
1 4.91 8.18 11 0.94 0.21
2 3.84 7.49 12 0.59 1.73
3 2.41 7.11 13 0.69 3.96
4 2.62 6.15 14 3.04 4.26
5 3.78 6.62 15 1.01 6.75
6 0.52 3.30
PayPal Gateway not configured
PayPal Gateway not configured