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:
['u', 'x', 'x', '905', '2635', 'H', '8797', '1695', '3545', 'e', '9241', '3829', '9471', 'm', '97', 'h', '5031']
answer:
u, x, x, H, e, m, h, 905, 2635, 8797, 1695, 3545, 9241, 3829, 9471, 97, 5031


question:
['5463', '9001', 'C', 'r', '1813', 'n', 'v', 'r', 'k', 'n', 'A', '5577', '2807', '2311', '5893', '999', 'b', 'h', 'L', 'z', 'q', '5237', 'p', 'N', 'x', 'X', '6513', '9357', 'a', 'U']
answer:
C, r, n, v, r, k, n, A, b, h, L, z, q, p, N, x, X, a, U, 5463, 9001, 1813, 5577, 2807, 2311, 5893, 999, 5237, 6513, 9357


question:
['Q', '2979', 'x', 'O', '2817', 'M', '2955', '3543', 'g', '1781', 'C', '5193', '215', '6741', 'z', '6705', 'j', '2339', '2633', '8465', '961', '4203', '7939', 'h', 'F', '5071', '9463', 't', '1755', '1765']
answer:

Q, x, O, M, g, C, z, j, h, F, t, 2979, 2817, 2955, 3543, 1781, 5193, 215, 6741, 6705, 2339, 2633, 8465, 961, 4203, 7939, 5071, 9463, 1755, 1765