Order ratings consistently

Fixes #109.