Here's why:
* Direct object: The direct object is the thing being acted upon. In this case, it's "her coin collection".
* Indirect object: The indirect object is the person or thing receiving the direct object. "Them" is receiving the coin collection being shown.
The sentence can be rewritten to highlight the indirect object: "Sandy showed her coin collection to them."