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:
['N', 'M', '3951', '6031', '2277', 'M', 'Z', '1755', 'g', '255', 'G', '3423', 'W', 'Q', '393', 'M', '5045', 'c', 'J', '9001', '8103']
answer:
N, M, M, Z, g, G, W, Q, M, c, J, 3951, 6031, 2277, 1755, 255, 3423, 393, 5045, 9001, 8103


question:
['D', 'P', '7505', 'Z', 'u', '3193', 'R', 'q', '2199', '9271', '8289', '8941', 'i', 'I', '3967', '6461', 'F', '5747', '5349', 'E', '9019', '9865', '4581', '8423', '8649', 'Q', 'o', '8085', '7383', 'i', 'a', 'T', 'S', '2559']
answer:
D, P, Z, u, R, q, i, I, F, E, Q, o, i, a, T, S, 7505, 3193, 2199, 9271, 8289, 8941, 3967, 6461, 5747, 5349, 9019, 9865, 4581, 8423, 8649, 8085, 7383, 2559


question:
['E', '6919', 'p', 'U', 'D', 'z', '5541', '6005', '1745', '6899', 'i', 'N', 'K', '6627', '9595', 'v', '5347', 'T', 'X', 'x', '5805', 'Y', '1269', 'n', '4993', '4845', 'n', 't', '919', '8799', '9493', 'c', '2533', '9847', '1385', 'W', '4335', '9405', '8387', '629']
answer:

E, p, U, D, z, i, N, K, v, T, X, x, Y, n, n, t, c, W, 6919, 5541, 6005, 1745, 6899, 6627, 9595, 5347, 5805, 1269, 4993, 4845, 919, 8799, 9493, 2533, 9847, 1385, 4335, 9405, 8387, 629