The espada are numbered by their reiatsu level, not their abilities. That's why Yammy is number 0 even though we know he's not the best out of all of them; he only has the basic abilities of an arrancars, nothing truly special of his own. (apart from transforming and growing bigger when he gets angry)
If Barragan faced Yammy, he'd wipe the floor with him.