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:
['a', '399', 's', 'e', '495', 'd', 'f', 'a', '323']
answer:
2, 3, 4, 5, 9


question:
['213', 'm', '347', '217', 'g', '207', '361', 'q']
answer:
0, 1, 2, 3, 4, 6, 7


question:
['75', 'g', '41', 't', '29', 'p', '369', 'v', '91', '279', '307', 'z']
answer:

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