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.

Example Input: ['z', '375', 'v', 'o', 'v', '31', 'u', 'x', 'q', 'x', '71', 'n', 'v']
Example Output: 1, 3, 5, 7

Example Input: ['235', '17', 'g', '125', '455', 'h', 'u', 'u', 'y', '219', '129', 'q', 'u', 'r']
Example Output: 1, 2, 3, 4, 5, 7, 9

Example Input: ['155', '99', 'e', '285', '47', '363', '363', 'n', '197', 'b', '189', 'y', '347', 's']
Example Output:
1, 2, 3, 4, 5, 6, 7, 8, 9