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:
['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']
answer:
Z, a, x, m, f, p, 3217, 5145


question:
['P', 'Q', 'x', 'w', 'V', 't', '8231', '4737', 'X', '5065', 'g', 'P', '9205', '8849', '8455', 's', '7269', 'F', 'Q', 'H', 'z', 'u', '7399', 'N', 'P', 'x', '4579', 'i', '6997', '9409', 'M', '8047', '2861']
answer:
P, Q, x, w, V, t, X, g, P, s, F, Q, H, z, u, N, P, x, i, M, 8231, 4737, 5065, 9205, 8849, 8455, 7269, 7399, 4579, 6997, 9409, 8047, 2861


question:
['k', '1831', '2219', 'K', 'R', '3703', 'M', '9927', 'c', 'Z', 'N', 'U', '8335', 'I', 'H', '5179', 'R', '7711', 'q', 's', 'W', '3297', '6999', 'O', 'P', '3253', '6799', '4319', 'S', 'A', 'V', '615', 'J']
answer:

k, K, R, M, c, Z, N, U, I, H, R, q, s, W, O, P, S, A, V, J, 1831, 2219, 3703, 9927, 8335, 5179, 7711, 3297, 6999, 3253, 6799, 4319, 615