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]: ['353', '231', 'w', 't', 'j', 'r', 'm', '455', 'i', '281', '215']
[EX A]: 1, 2, 3, 4, 5, 8

[EX Q]: ['c', '155', '61']
[EX A]: 1, 5, 6

[EX Q]: ['i', 'f', '183', '275', 'm', '309', 'f', '417', '337', '17', '397', 's', '415', '339']
[EX A]:
0, 1, 2, 3, 4, 5, 7, 8, 9