then gothmog lord of balrogs gathered all his demons that were about the city and ordered them thus : a number made for the folk of the hammer and gave before them , but the greater com- pany rushing upon the flank contrived to get to their backs , higher upon the coils of the drakes and nearer to the gates , so that rog might not win back save with great slaughter among his folk .