implement the “Sort by” feature on the “resources” page. This can be implemented only client-side, just using JavaScript in the ResourcesPage component. It should sort the search results by their title.
If you implement sorting using the localeCompare function we can get a good case-insensitive sort.
The dropdown doesn't need to be a separate component; it's just a tiny bit of markup and it can go directly into the ResourcesPage component.
implement the “Sort by” feature on the “resources” page. This can be implemented only client-side, just using JavaScript in the
ResourcesPage
component. It should sort the search results by their title.If you implement sorting using the
localeCompare
function we can get a good case-insensitive sort.The dropdown doesn't need to be a separate component; it's just a tiny bit of markup and it can go directly into the ResourcesPage component.