It might be cleaner to use the ``activity_name`` for sorting instead of the foreign key.
This also seems to be working though.