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: ['x', '325', 'i', 'n', 'i', 'w', 't']

Output: 2, 3, 5


Input: Consider Input: ['j', '463', 'z', '35', 'w', '191', '333', 'a']

Output: 1, 3, 4, 5, 6, 9


Input: Consider Input: ['a', '385', 'd', '41', 'd', '483', 'q', '149', '113', '37', 'r', '211']


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