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.

['g', 'Z', 'D', 'W', 'j', 'a', 'q', 'L', '7219', 'O', '4489', '5149', 'A', '7605', '2361', 'v', '865', 'S', 'g', 'P', 'u', 'l', 'A', 'w']
g, Z, D, W, j, a, q, L, O, A, v, S, g, P, u, l, A, w, 7219, 4489, 5149, 7605, 2361, 865

['4259', '4973', '181', '5487', '825', 'E', '1663', '9783', 'U', 'a', 'W', '3997', 'M', 'x', 'M', 'h', '4489', '9773', 'f', '3967', '8857', 'Z', 'O', 'O', 'Q', 'K', '8201', 'U']
E, U, a, W, M, x, M, h, f, Z, O, O, Q, K, U, 4259, 4973, 181, 5487, 825, 1663, 9783, 3997, 4489, 9773, 3967, 8857, 8201

['323', '7205', '3921', '9345', '5239', 'N', 'z', '4019', 'R', '9473', 'w', '483', 'O', '5311', 't', 'R', '7051', '7179', 'S', 'm', '1265', '1243', '4669', '9345', 'j', '9511', '4995', '6561', 'I', 'a', '5245', 'S', '7421', '2351', '5531']

N, z, R, w, O, t, R, S, m, j, I, a, S, 323, 7205, 3921, 9345, 5239, 4019, 9473, 483, 5311, 7051, 7179, 1265, 1243, 4669, 9345, 9511, 4995, 6561, 5245, 7421, 2351, 5531