Fix test failures associted with related_list

The related_list dictization changes returned them as returned by
the database. This change gives it a default order if they're not
previously sorted.