Trier un tableau d’active records de différentes classes par ordre décroissant

Voici comment trier un tableau d’active records par ordre décroissant :

destinationComments = self.destination_comments.where('deleted = ?', false)
hotelComments = self.hotel_comments .where('deleted = ?', false)
(destinationComments + hotelComments).sort_by(&:created_at).reverse

Si ca peut aider certaines personnes.