# Sorting Cards

Students should be placed in groups of three and given a deck of cards. Explain to students that they will be developing a strategy to place the cards in order A-K by suit. All the hearts should be in order, all the diamonds, all the spades and all the clubs. It does not matter which suit they place first in the deck, but all the cards in that suit must be in order. The goal is to complete this as quickly as possible with their group members.

1. All students should be given a shuffled deck and be told the goal.&#x20;
2. Clarify any questions about suit, make sure the students see an example of what the cards look like in order.&#x20;
3. Give students five minutes to practice and develop their strategy in their groups.
4. After five minutes, make sure each group shuffles a card deck for another group to ensure that the decks are shuffled
5. To be finished, the students must order their deck, place the deck in a neat pile face down on the table, and all members must place their hands above their heads to indicate they are finished and not touching their cards
6. Go around to each group in the order they finished to see if their cards are in order, if there is a mistake they are disqualified.
7. Allow students another three minutes to see if they can improve their algorithm and repeat steps 5-6


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/cards/sorting-cards.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
