It was like this in swift2.3 in GitHub
" self.ListGroupname = tempList.sortedArrayUsingSelector(Selector("compare:")) "
and the system of swift 3.0 convert it to
" self.listGroupname = tempList.sortedArray(using: "compare:") "
while it gives a error message " sorted array produces [any] not the expected contextual result type "NSArray"
I have no idea what can I do. Can someone help?