Katie had a pack of twenty cards numbered from $1$ to $20$.

She arranged the cards into six unequal piles.

The numbers on the cards in each pile added to the same total.

What was the total and how could this be done?