the person you replied to was being unnecessarily semantic, but in computer science "sort" has a specific meaning which is only the ordering of a set. So 'sorting' cp implies making it easier to find specific cp.
The more accurate word might be "categorize" or "filter".
It was obvious what was meant by "sort" when reading the full text, but I think the counter-point was more of a tongue-in-cheek retort regarding the above than an actual complaint.