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.

[Q]: ['357', 'c', 'f', '3', 'q', 'w', 'm', 'l', '137', 'k']
[A]: 1, 3, 5, 7


[Q]: ['i', '485', '109', 'e', '15', '461', 'r', 'l', '223', '327']
[A]: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9


[Q]: ['r', 'o', 'x', 'o', 'g', 'r', 'a', '93', '409', '39', 's', 'p']
[A]:
0, 3, 4, 9