Created sort by pictures algorithm
Implemented sort by pictures and date
Added comments to sort by pictures