Encounter Level doesn't affect XP Awards
This is explained in greater detail in the Dungon Master's Guide on Experience Rewards (36-7), but creatures generate XP through their Challenge Ratings. The DM can modify both the Challenge Rating (hence the XP award) and the Encounter Level of an encounter as described in Modifying XP Awards and Encounter Levels (DMG 39). This makes Table 3–1: Encounter Numbers (DMG 49) unimportant when determining XP; rely instead on Table 2–6: Experience Point Awards (Single Monster).
I've broken down both encounters below. Note: PCs will like your numbers better.
If all the creatures in the first encounter are overcome, the encounter generates 2,600 XP for level 4 PCs. With 5 level 4 PCs participating, each PC earns 520 XP.
- 6 CR 1/3 skeletons (300 XP each but each divided by 3 equals 100 XP each for a total of 600 XP)1
- 2 CR 1 gnolls (300 XP each for a total of 600 XP)
- 1 CR 2 cleric (600 XP)
- 1 CR 3 ogre skeleton (800 XP)
If all the creatures in the second encounter are overcome, the encounter generates 3,200 XP for level 4 PCs. With 5 level 4 PCs participating, each PC earns 640 XP.
- 6 CR 1 gnolls (300 XP each for a total of 1,800 XP)2
- 1 CR 2 human Clr2 (600 XP)
- 1 CR 2 troglodyte Clr2 (800 XP)
1 The division is as per the Dungeon Master's Guide on Monsters Below CR 1, which says
Some monsters are fractions of a Challenge Rating. For instance, a single orc is not a good challenge for even a 1st-level party, although two might be. You could think of an orc as approximately CR 1/2. For these cases, calculate XP as if the creature were CR 1, then divide the result by 2. (37)
2 6 CR 1 gnolls have, in fact, a combined Encounter Level of 5. Remember that gnolls, unlike the previous skeleton horde, think independently and employ tactics. They like setting ambushes and flanking, and a critical hit from a gnoll's battleaxe (after switching to a two-handed grip as a free action after dropping the shield as a free action and using the feat Power Attack) can deal over 40 points of damage.