It is my dictionary:
var _dict :[String:String]=[
"a":"h1",
"b":"b1",
"c":"j1",
"e":"o1",
"f": "m1",
"g":"u1",
"h":"r1"
]
And I am trying to sort it by value like this:
_dict = _dict.sort({ $0.1 > $1.1 })
But I get this error message:
Cannot invoke 'sort' with an argument list of type '(@noescape ((String, String), (String, String)) -> Bool)'