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:
['223', '55', 'l', '461']
answer:
1, 2, 3, 4, 5, 6


question:
['y', '439', 't', '29', '425', '289']
answer:
2, 3, 4, 5, 8, 9


question:
['r', '425', '59', 'n', '265', 'm', 'o', 's', 'w', '445', 'y', 'w', '353']
answer:

2, 3, 4, 5, 6, 9