Sort pictures