error when trying to loop through grouped entries according to dropdown field
You have to remove the entry from your entry.resourceType

{% set allEntriesByCat = allEntries|group('resourceType') %}


will work