I need to sort the array by a parameter and then a different parameter after that.
array{ array{0,3}, array{1,2}, array{2,1}, array{1,3} }