Resort and deup a CSV list
I'm always adding items to a sorted list. There has to be a better way dedup and resort the lists. There are multiple lists with varying lengths to discourage manual sorting. Also Australia's animals are weird.
Start file
// Animals ordered by continent. africa = ["hippo", "lion", "atlas bear", "gorilla", "hyena", "giraffe", "zebra"] asia = ["tiger", "honey bear", "yak", "monkey", "panda"] europe = ["flea", "brown bear", "ox", "fox", "rat", "deer"] namerica = ["polar bear", "alligator", "cougar", "wolf", "bison", "reindeer", "raccoon"] samerica = ["puma", "anaconda", "llama", "capybara", "spectacled bear", "penguin", "sloth"] australia = ["crocodile", "SPIDERS!", "dingo", "SPIDERS!", "kangaroo", "spider bear", "playtpus", "koala", "SPIDERS!", "echidna"]
End file
// Animals ordered by continent. africa = ["atlas bear", "giraffe", "gorilla", "hippo", "hyena", "lion", "zebra"] asia = ["honey bear", "monkey", "panda", "tiger", "yak"] europe = ["brown bear", "deer", "flea", "fox", "ox", "rat"] namerica = ["alligator", "bison", "cougar", "polar bear", "raccoon", "reindeer", "wolf"] samerica = ["anaconda", "capybara", "llama", "penguin", "puma", "sloth", "spectacled bear"] australia = ["SPIDERS!", "crocodile", "dingo", "echidna", "kangaroo", "koala", "playtpus", "spider bear"]
View Diff
2,7c2,7 < africa = ["hippo", "lion", "atlas bear", "gorilla", "hyena", "giraffe", "zebra"] < asia = ["tiger", "honey bear", "yak", "monkey", "panda"] < europe = ["flea", "brown bear", "ox", "fox", "rat", "deer"] < namerica = ["polar bear", "alligator", "cougar", "wolf", "bison", "reindeer", "raccoon"] < samerica = ["puma", "anaconda", "llama", "capybara", "spectacled bear", "penguin", "sloth"] < australia = ["crocodile", "SPIDERS!", "dingo", "SPIDERS!", "kangaroo", "spider bear", "playtpus", "koala", "SPIDERS!", "echidna"] --- > africa = ["atlas bear", "giraffe", "gorilla", "hippo", "hyena", "lion", "zebra"] > asia = ["honey bear", "monkey", "panda", "tiger", "yak"] > europe = ["brown bear", "deer", "flea", "fox", "ox", "rat"] > namerica = ["alligator", "bison", "cougar", "polar bear", "raccoon", "reindeer", "wolf"] > samerica = ["anaconda", "capybara", "llama", "penguin", "puma", "sloth", "spectacled bear"] > australia = ["SPIDERS!", "crocodile", "dingo", "echidna", "kangaroo", "koala", "playtpus", "spider bear"]
Solutions by @deft_code:
Unlock 6 remaining solutions by signing in and submitting your own entry