New to Craft
Intermediate Craft
Extending Craft CMS
Craft Commerce
Git Version Control
See All Quests
Courses
Lessons
Livestreams
Contact Support
Call with Ryan
Get Help with Your Project
About CraftQuest
In this lesson, we learn how to use the new Spaceship Operator (three-way comparison operator) in Twig and Craft CMS. We use it to sort items using Twig's sort filter.
Some stuff to help you along during the lesson: