Fix bug causing .jpeg files to be ignored
Fix sorting of related images
Merge pull request #17 from codyromano/feature/media-sorting

Improve media sorting