How to sort Rails Active Model serializers' response
You can define it as property and handle sorting. E.g:
def places
object.places.order("title")
end
https://github.com/rails-api/active_model_serializers#associations
I prefer this way
has_many :person_medals do
object.places.order(:title)
end