add GraphicsMagick
order files by height
format file
Merge pull request #5319 from guardian/better-sprite-generation

Order sprite images by height