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: ['k', 'b', 'k', 'l', '441', 'b', '115', 'd', 'b', 'r', '115', 'k', 'a']

Answer: 1, 4, 5


Question: ['v', 'r', '67', '49']

Answer: 4, 6, 7, 9


Question: ['91', 'a', '179', 's', 'b', '437', '59', '259', 'f', '239', 'i', '405', '229', 'p', '73']

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