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:
['p', '45', 'z', '85', 'k', 'e', '191', '265', '261', 'w', 'l', '263', 'w']
answer:
1, 2, 3, 4, 5, 6, 8, 9


question:
['291', '445', 'q', 't']
answer:
1, 2, 4, 5, 9


question:
['417', 'p', '239', '377', '133', 'j', 't', '225', 'g', '103']
answer:

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