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: ['99', '245', 'c', '435', '255', 'v']
Example Output: 2, 3, 4, 5, 9

Example Input: ['u', '341', '151', '1', '157', '211', '189']
Example Output: 1, 2, 3, 4, 5, 7, 8, 9

Example Input: ['9', 'q', '189', '381', 'b', '59', 'e', 'u', 'y', 'd', '131', 'u', '127', 'j', 'l']
Example Output:
1, 2, 3, 5, 7, 8, 9