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.

['119', '329', 'w']
1, 2, 3, 9

['43', 'n', 's', '453', 'c', '205']
0, 2, 3, 4, 5

['k', '171', '351', 'e', 't', 'r', '353', 'j', 's', 'i', '475', 'a', '259', '201', '85']

0, 1, 2, 3, 4, 5, 7, 8, 9