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:
['9265', 'L', 'j', 'l', 'g', '4067', 'f', 'R', '5407', 'I', 'z', '1389', 'i', 'g', 'u', '6807', 'k', '9701', 'e', '2513', '627', '6263', 'h', 'm', 'J', 'M']
answer:
L, j, l, g, f, R, I, z, i, g, u, k, e, h, m, J, M, 9265, 4067, 5407, 1389, 6807, 9701, 2513, 627, 6263


question:
['699', 'l', '6605', 'e', 'u', '6381', 'C', 'p', 'O', 'X']
answer:
l, e, u, C, p, O, X, 699, 6605, 6381


question:
['n', '4689', '4247', '2173', '2807', '7835', '3717', 'J', '6187', '2885', '2697', 'v', 'Q', 'G', '6477', 'k', '1893', '7597', '6807', 'i', '9665', 'H', '9271', '5805', '1811', 'w', '101', 'p', '1779', '5175', 'S', '7105', 'H', 'X', '3105', '729', 'a', '8881']
answer:

n, J, v, Q, G, k, i, H, w, p, S, H, X, a, 4689, 4247, 2173, 2807, 7835, 3717, 6187, 2885, 2697, 6477, 1893, 7597, 6807, 9665, 9271, 5805, 1811, 101, 1779, 5175, 7105, 3105, 729, 8881