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:
['3523', 'W', '5715', '7517', 'q', '6405', '365', 'j', 'D', '983', 'P', 'D', 'X', 'A', 'v', 'a', '5091', 't', '7277', 'E', 'i', '2059', '4403', '1345', 'u', 'Y', '4341', '61', 'I', 'O']
answer:
W, q, j, D, P, D, X, A, v, a, t, E, i, u, Y, I, O, 3523, 5715, 7517, 6405, 365, 983, 5091, 7277, 2059, 4403, 1345, 4341, 61


question:
['4781', 'X', '3765', 'C']
answer:
X, C, 4781, 3765


question:
['1349', 'q', 'G', '1879', '7487', '4471', '6555', '477', '907', 'H', 'Q', '4667', 'x', 'e', 'i', 'd', '9909', '403', 'M', 'j', '8651', '4493', '6933', '9191', '2993', 's', '2881', 'r', 'O', '2341', 'o', 'G', '8201', '2455', '1773', 'a', '2201', 'x', '749', '3011']
answer:

q, G, H, Q, x, e, i, d, M, j, s, r, O, o, G, a, x, 1349, 1879, 7487, 4471, 6555, 477, 907, 4667, 9909, 403, 8651, 4493, 6933, 9191, 2993, 2881, 2341, 8201, 2455, 1773, 2201, 749, 3011