public string matchWords(string targetWord) { // Need to sort the array and lower the case string[] sortList = { characters, targetWord }; Array.Sort(sortList); return(connection.MatchQuery(sortList[0], sortList[1])); }