sorts .jpgs into files based on the name of the first one in each set
need to add comparative sorting for .tifs and error handling for missing files