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 Q]: ['k', '153', '13']
[EX A]: 1, 3, 5

[EX Q]: ['b', '329', 'm', 'q', 'k', 'z', 'k', '199', 'v', 'l']
[EX A]: 1, 2, 3, 9

[EX Q]: ['57', 's', 'y', '171', 'm']
[EX A]:
1, 5, 7