Sort all pictures