Make cardpiles sortable in py3