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:
['f', '73', 'k', '333', '345', 'e', 'x', 'j']
answer:
3, 4, 5, 7


question:
['121', 'm', 'n', '143', '281', 'c', 'j']
answer:
1, 2, 3, 4, 8


question:
['85', 'h', '31']
answer:

1, 3, 5, 8