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', 'e', 'c']
Example Output: -1

Example Input: ['49', 'r', '179', 'h', 'q', 'h', 'w', '187', '427', 'x', 'r']
Example Output: 1, 2, 4, 7, 8, 9

Example Input: ['93', '407', '253', 'e', '487', 'd', 'v', 'j', 'g', 'g', 'k', '111', 'v', '425', '89']
Example Output:
0, 1, 2, 3, 4, 5, 7, 8, 9