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]: ['153', 'b', 'w', 'y', 'k', '385', '221', '153', 'b', '123', 'd', '151', 'y']
[EX A]: 1, 2, 3, 5, 8

[EX Q]: ['235', '17', 'g', '125', '455', 'h', 'u', 'u', 'y', '219', '129', 'q', 'u', 'r']
[EX A]: 1, 2, 3, 4, 5, 7, 9

[EX Q]: ['43', 'h', '157', 'g', '193', 'c']
[EX A]:
1, 3, 4, 5, 7, 9