Advanced Sorting: implementing reverse sort
In this lesson, you'll continue to implement our advanced data sorting technique. By the end of this lesson, we will be able to sort and reverse sort our app's table by column
In the previous lesson, we did some initial ground work to get our search functionality working. In this chapter, we’ll finish the sort functionality with reverse sort. The list should perform a reverse sort once you click a Sort component twice. First, you need to define the reverse state with a boolean. The sort can be either reversed or non-reversed.
Access this course and 1400+ top-rated courses and projects.