to sort

verb
  1. To arrange or organize items into categories or in a particular order. verb
    She decided to sort the books by genre.
    The software can sort the data by date or relevance.
  2. To classify or categorize items based on shared characteristics. verb
    He sorted the emails into different folders based on their importance.
    The teacher asked the students to sort the shapes by color.
  3. To resolve or deal with a problem or situation. verb
    We need to sort this issue out before the deadline.
    She sorted her finances after receiving professional advice.