instruction:
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.
question:
['z', '209']
answer:
0, 2, 9


question:
['a', 'n', '423', 'y', 'y', 'u', '55', 'y', '295', '73', 't', 'p']
answer:
2, 3, 4, 5, 7, 9


question:
['481', 'm', 'u', '391', '391', '177', 'y', 'e', '127', 'x', '467', '105', 'x', '141']
answer:

0, 1, 2, 3, 4, 5, 6, 7, 8, 9