I ran into an issue where Django sorted Ø as O, and it turns out that my Postgres database was set up with the wrong collation. Here's how to fix it.