I am trying to sort an Array used to populate a TableView.
My data is structured as following :
var data = [[Double:String]]()
ex : [[1450051409873: "foo"], [1450051409874: "bar"], [1450051409875: "baz"]]
I want my data to be sorted by the value of the doubles (i.e. 1450051409873...)
I am doing the following to sort my data:
data.sortInPlace({$0[0] > $1[0]})
This does not appear to work.