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.

['203', 'p', 'r', 'r', 'c', 'w', 'z', 'w', 'a', '203', 'n']
0, 2, 3

['j', '463', 'z', '35', 'w', '191', '333', 'a']
1, 3, 4, 5, 6, 9

['c', '219', '363', '411']

1, 2, 3, 4, 6, 9