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]: ['q', 'a', '149']
[A]: 1, 4, 9


[Q]: ['279', 'm', '453', 's', 'x', 'g', 'i', 'x', 'd']
[A]: 2, 3, 4, 5, 7, 9


[Q]: ['g', 'u', 'z', '79', 'f', '223', '139', '213', '329', '357', '333', 'w', 'o', 'f', '301']
[A]:
0, 1, 2, 3, 5, 7, 9