clc
clear

A=[3 7 -4 12;
 -5 9 10 2;
 6 13 8 11;
 15 5 4 1];

 sort(A(:,3))

 A(:,1)+A(1,:)'
 

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: