Sort and categorize examples