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:
['c', '465', '147', 's', '113', 'd', 'c', '355']
answer:
1, 3, 4, 5, 6, 7


question:
['h', 'l', 'x', 'v', 'v', '413', 'p', '45', '105', '183', 'p', 'k']
answer:
0, 1, 3, 4, 5, 8


question:
['b', 'v', 'i', '429', 't', 'l', 't', 'y', '357', 'j', 'g', 'x', 'r']
answer:

2, 3, 4, 5, 7, 9