added back SortThumbs with a rewrite for new image layouts in JSON
Merge pull request #19 from Gerk/master

added back SortThumbs with a rewrite for new image layouts in JSON