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', 'b', 'k', 'l', '441', 'b', '115', 'd', 'b', 'r', '115', 'k', 'a']
[EX A]: 1, 4, 5

[EX Q]: ['375', '457', '423', 'q', 't']
[EX A]: 2, 3, 4, 5, 7

[EX Q]: ['261', '57', '375', 'l', 'c', '467', '143', '175', 'j', 'c', 'r', 'r', 'v', 'k', 'd']
[EX A]:
1, 2, 3, 4, 5, 6, 7