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.

Example Input: ['y', '281', '313', '21', 'i', '377', 'e', '111', '71', '231', '409', 'k']
Example Output: 0, 1, 2, 3, 4, 7, 8, 9

Example Input: ['z', '271', 'h', 'm', '365']
Example Output: 1, 2, 3, 5, 6, 7

Example Input: ['t', '41', 'p', 'd', '91', 'y', '443', 'e', '393', 'n']
Example Output:
1, 3, 4, 9