Added some documentation to sortKEy
string to KeyType
.