Order the hosts API output based on the hostname, A-Z

- This is a story in the list of things to do post-migration, and now we're moved onto Postgres.