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:
['459', 'd', '473', 'i', 'l', 's']
answer:
3, 4, 5, 7, 9


question:
['r', '495', '383', 'd', '369', '323', 'e', 'c', '149', 'q', '487', 'q', 'c']
answer:
1, 2, 3, 4, 5, 6, 7, 8, 9


question:
['285', 'v', '327', '255', 'w', '335', '497', 't', '421', 't', '211']
answer:

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