instruction:
In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to collate all the alphabetical elements at the start of the list followed by all the numerical elements of the list. Maintain the order in which the alphabetical elements appear in the given input list, and do the same for the numerical elements.
question:
['327', '9245', 'D', 'U', 'C', 'D', '3149', 'J', '7545', 'x', 'O', 'i', '3189', '6727', '7141', '3135', '1903', 'I', '5179', 'o']
answer:
D, U, C, D, J, x, O, i, I, o, 327, 9245, 3149, 7545, 3189, 6727, 7141, 3135, 1903, 5179


question:
['H', '407', 'n']
answer:
H, n, 407


question:
['G', 'X', 'm', '4501', '4189', '9077', '6973', 'g', '1149', 'p', 'T', 'Q', '6497', 'q', '6965', 'M']
answer:

G, X, m, g, p, T, Q, q, M, 4501, 4189, 9077, 6973, 1149, 6497, 6965