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.

['i', 'f', '409', 'c', '83']
0, 3, 4, 8, 9

['13', 'p', '427', 's', 'x', 'x', '43', 'h', 'j', 'z', '21']
1, 2, 3, 4, 7

['k', '119', 'a', '157', 'b', 'r', '237', 's']

1, 2, 3, 5, 7, 9