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:
['479', '205', 'e', 'c', '57', 'm', 'i', '33', 'f', '45', 'z']
answer:
0, 2, 3, 4, 5, 7, 9


question:
['473', '357', 'i', 'j', '299', 's', '495', '165', 'o', 'l', 'x', 'v', '1', 'o', '469']
answer:
1, 2, 3, 4, 5, 6, 7, 9


question:
['m', '403', 'j', 'h', '155', '385', 'r', '429', '351']
answer:

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