ok  reversedWords([]) = []
ok  reversedWords([]) leaves its argument alone = []
ok  reversedWords([one]) = [one]
ok  reversedWords([one]) leaves its argument alone = [one]
ok  reversedWords([one, two, three]) = [three, two, one]
ok  reversedWords([one, two, three]) leaves its argument alone = [one, two, three]
ok  reversedWords([a, b, c, d]) = [d, c, b, a]
ok  reversedWords([a, b, c, d]) leaves its argument alone = [a, b, c, d]
ok  longestWord([]) = ""
ok  longestWord([cat]) = "cat"
ok  longestWord([a, bb, cc, ddd, eee]) = "ddd"
ok  longestWord([hello, 12345, hi]) = "hello"
ok  longestWord([Ab, cd, x]) = "Ab"
ok  longestWord([short, a, longest, tiny]) = "longest"
ok  countsFor([], []) = []
ok  countsFor([the, cat], [the, cat, the]) = [2, 1]
ok  countsFor([the, cat], [The, CAT, THE, dog]) = [2, 1]
ok  countsFor([b, a, c], [a, b, b, a, b]) = [3, 2, 0]
ok  sortByCount([], []), names afterwards = []
ok  sortByCount([], []), counts afterwards = []
ok  sortByCount([a], [4]), names afterwards = [a]
ok  sortByCount([a], [4]), counts afterwards = [4]
ok  sortByCount([a, b, c], [1, 3, 2]), names afterwards = [b, c, a]
ok  sortByCount([a, b, c], [1, 3, 2]), counts afterwards = [3, 2, 1]
ok  sortByCount([a, b, c], [3, 2, 1]), names afterwards = [a, b, c]
ok  sortByCount([a, b, c], [3, 2, 1]), counts afterwards = [3, 2, 1]
ok  sortByCount([a, b, c], [1, 2, 3]), names afterwards = [c, b, a]
ok  sortByCount([a, b, c], [1, 2, 3]), counts afterwards = [3, 2, 1]
ok  sortByCount([to, be, or, not], [2, 2, 1, 1]), names afterwards = [to, be, or, not]
ok  sortByCount([to, be, or, not], [2, 2, 1, 1]), counts afterwards = [2, 2, 1, 1]
ok  sortByCount([w, x, y, z], [1, 2, 1, 2]), names afterwards = [x, z, w, y]
ok  sortByCount([w, x, y, z], [1, 2, 1, 2]), counts afterwards = [2, 2, 1, 1]
ok  sortByCount([p, q, r], [1000, 1000, 2000]), names afterwards = [r, p, q]
ok  sortByCount([p, q, r], [1000, 1000, 2000]), counts afterwards = [2000, 1000, 1000]
ok  sortByCount([p, q, r], [1000, 1000, 1000]), names afterwards = [p, q, r]
ok  sortByCount([p, q, r], [1000, 1000, 1000]), counts afterwards = [1000, 1000, 1000]
ok  sortByCount([p, q, r, s], [5, 5, 5, 5]), names afterwards = [p, q, r, s]
ok  sortByCount([p, q, r, s], [5, 5, 5, 5]), counts afterwards = [5, 5, 5, 5]
