def processCards(results):
    """Process card results to be displayed in the card selection window

    :param List[Dict[str, Union[str, int]]] results: A list of raw card results
    :return: A list of processed results in table form
    :rtype: List[List[Union[str, int]]]
    """
    rows = []
    for item in results:
        rows.append([item['rarity'], item['name'], item['setName'], item['id']])
    return rows