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.

['s', '443', '239', 't', '99']
2, 3, 4, 9

['c', 'u', 'b', '347', '191']
1, 3, 4, 7, 9

['n', 'f', 'e', '495', 'm', '283', '251', '381', 'n', 'e', 'd', 'i', '229', '291']

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