Sorting the chatclient/chatserver functions.