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:
['477', '293', '301', '269', '149', 'm']
answer:
0, 1, 2, 3, 4, 6, 7, 9


question:
['z', 'b', 'c', 'l', '453', 'h', '215', '447', '487', 'p', 'y', 'v']
answer:
1, 2, 3, 4, 5, 7, 8


question:
['a', '437', 'o', '239', '89', '241', '71', 'f', '23', 'v', 'i', 'r', 'w', '497']
answer:

1, 2, 3, 4, 7, 8, 9


