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.

['l', '201', 's', 'y', 'b', '395', '19']
0, 1, 2, 3, 5, 9

['185', '425']
1, 2, 4, 5, 8

['111', 'y', 'r', '279', '435', '357', '257', 'n', '307', '141']

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