In order to view this lesson, you must purchase this course.
Let's continue with the Pagination lesson by looking at how we can page for data and sorting by the <b>creationDate</b> key of our <b>Posts</b>. In order to do this correctly, we'll be querying for data at the end of the list with <b>queryLimited(toLast: Int)</b> and collecting Post objects in reverse order.
Once you're done with the video, I highly recommend walking through the logic yourself so that you understand the order in which objects are coming back.