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:
['159', '3', 'f', 'k', 'o', 'm']

Ex Output:
1, 3, 5, 9


Ex Input:
['85', '101', 'j', 'g', 'o', 'f', 'w', 'o', 'm', '45', 'e', 'z']

Ex Output:
0, 1, 4, 5, 8


Ex Input:
['385', '25', 'k', 'l', '415', 'p', 'p', '341', '111', 'x', 'q', '69', 'i', 'x']

Ex Output:

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