In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.

Input: Consider Input: ['e', '325', '377', 'v', '35', 'n', '125', '195']

Output: 1, 2, 3, 5, 7, 9


Input: Consider Input: ['f', 'c', '381', '149', '67', '67', '197', 'i', '289', '491', 'c', 'b']

Output: 1, 2, 3, 4, 6, 7, 8, 9


Input: Consider Input: ['205', 's', 'e', 'x', '107', '59', '273', '445', 'j', 'y']


Output: 0, 1, 2, 3, 4, 5, 7, 9