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:
['407', 'a', 'l', '307', 'a']
answer:
0, 3, 4, 7


question:
['u', '465', '129', 'o']
answer:
1, 2, 4, 5, 6, 9


question:
['395', '169', '151', '63', 'm', '449', '259', 'z', '3', '95', '209', '119', 'o', 'x']
answer:

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