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.

['469', 'y', 'j', 'u', '475', 'k', 'k']
4, 5, 6, 7, 9

['n', '149', 'z', '37']
1, 3, 4, 7, 9

['251', 'y', 'r', '161', 'z', '431', '499', 'm', '475', '95', 'v', 'f', '333', '437']

1, 2, 3, 4, 5, 6, 7, 9