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:
['4129', '9577', 'Z', '4577', '7351', 't', 'C', '7761', '6173', '6451', 'Z', '1907', '2745', 'U', '3093', '5825', 'd', 'z', 'd', '7067', '2789', 'T', '2547', '2133', 'p', '663', '4209', 't', 'k']
answer:
Z, t, C, Z, U, d, z, d, T, p, t, k, 4129, 9577, 4577, 7351, 7761, 6173, 6451, 1907, 2745, 3093, 5825, 7067, 2789, 2547, 2133, 663, 4209


question:
['v', 'r']
answer:
v, r


question:
['2435', 'Z', '4021', '1273', '2567', '4393', 'n', '5745', '665', '2993', '3453', '8835', 'c', '4131', '4161', '759', '2375', '2395', 'g', '6221', '4493', 'X', 'Y', 'm', '1077', 'f', '8745', '3709', '1135', '6399', 'E', '617', 'q', '8037', 'm']
answer:

Z, n, c, g, X, Y, m, f, E, q, m, 2435, 4021, 1273, 2567, 4393, 5745, 665, 2993, 3453, 8835, 4131, 4161, 759, 2375, 2395, 6221, 4493, 1077, 8745, 3709, 1135, 6399, 617, 8037