Implement 'Idea' with sorting