A greedily hoarded treasure is a hoard. A herd of wildebeests or a mob of people is a horde.