Sort favorites by type.