Two critical lessons I've learned

Hi everyone! I just would like to share two key takeaways I’ve learned in this discussion group during this course: 1) You cannot sort() what it’s not there, which means if you have omitted a field in a previous stage you cannot reference it from that point on; 2) You cannot reference a newly created field in the same stage it has been created, which means if you have created a field with $addAddFields you can only reference it in the next stage.

These both takeaways I learned on “Lab: Using Cursor-like Stages” and “Lab - Bringing it all together”

Continuing the discussion from Chapter 2 Lab : Bringing it all together: