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.

Ex Input:
['233', '35', 'l', 'j', '89', 'r', 't']

Ex Output:
2, 3, 5, 8, 9


Ex Input:
['151', 'j', 'o', 's', 'q', 'r', '325']

Ex Output:
1, 2, 3, 5


Ex Input:
['u', 'r', '499', '441', 'x', 'g', '189', 'x', '81', 'b', '121', 'h', '179', '21']

Ex Output:

1, 2, 4, 7, 8, 9