Updated directory processing.
Added final step that sorts photos in a set (although it doesn't seem to be working).