Sorting doesn't require intelligence. You have X number of attributes and using them you do your best to get as many things in to "Like" buckets as possible.
Discovering new attributes is the start of intelligence. Discovering new buckets could be intelligence.
If the machine gets 100k pictures and can sort them in to Cat vs No Cat, and then suggests a new set of classification "Indoors vs outdoors" using attributes the developer didn't pre-identify that would be intelligence.