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:
['g', 'Z', 'D', 'W', 'j', 'a', 'q', 'L', '7219', 'O', '4489', '5149', 'A', '7605', '2361', 'v', '865', 'S', 'g', 'P', 'u', 'l', 'A', 'w']
answer:
g, Z, D, W, j, a, q, L, O, A, v, S, g, P, u, l, A, w, 7219, 4489, 5149, 7605, 2361, 865


question:
['e', 'b', '7265', 'K', '9419', '2933', 's', 'e', '8667', '6513', '7981', 'E', '3581', 'G', '2255', '9305', 'U', 'b', '2901', '9257', 'X', '9243', '4889', 'y', '9499', '6817', 'j', '295']
answer:
e, b, K, s, e, E, G, U, b, X, y, j, 7265, 9419, 2933, 8667, 6513, 7981, 3581, 2255, 9305, 2901, 9257, 9243, 4889, 9499, 6817, 295


question:
['8717', 'o', 'z', '223', 'n', 'h', '5893', '3671', '9007', 'X', '1971', '4191', '2455', 'j', 'E', '1103', 'J', '8029', '5817', '8125', '2381', '3429', '5885', '7167', '7631', 't', '7857', '7523', 'q', 'h', '3535', '6127']
answer:

o, z, n, h, X, j, E, J, t, q, h, 8717, 223, 5893, 3671, 9007, 1971, 4191, 2455, 1103, 8029, 5817, 8125, 2381, 3429, 5885, 7167, 7631, 7857, 7523, 3535, 6127