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: ['v', 'i', 'g', 'h']
Example Output: -1

Example Input: ['a', '55', 's', '71', '271', '211']
Example Output: 1, 2, 5, 7

Example Input: ['493', 'z', 'm', 'j', 'h', '257', 'z', 'p', '53', 'v', '155', 'z', 'd', 'z']
Example Output:
1, 2, 3, 4, 5, 7, 9