New to Craft
Extending Craft CMS
Git Version Control
See All Quests
That was just a preview but you can
watch the rest with a CraftQuest Premium account. Get access
to this video and hundreds more.
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: