early version of images page, and added sorting. Should find a DRYer way to do sorting, possible a function that you can pass the sort and the collection to.