card sorter

input logs or card list: