What I would have done next

  • Added enzyme
  • Made the data come from a mock endpoint
  • Add an active state on the sorter
  • Created a component for the sorting buttons
  • Tidied up the tailwindCSS