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.

['k', 'b', 'k', 'l', '441', 'b', '115', 'd', 'b', 'r', '115', 'k', 'a']
1, 4, 5

['z', '271', 'h', 'm', '365']
1, 2, 3, 5, 6, 7

['d', 'm', '147', '79', 'r', '483', 'k', '293', 'g', 'k', 'y', '429']

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