'word1','1' 'word2','3' word3, '2' I have a set of data like the above. I want to use these like an array, sort by the second value then return the data so I can use it later. What is the best way to do this?