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.

[Q]: ['4025', 'S', '3605', 'H', 'i', '3945', '5713', 'e', '6575', '4557', '6589', 'w', '8363', 'K', '655', 'w', '2597', '1251', 'e', '1297', '7889', '6491', 'B', '6531', '6895', 'L', '6127', 'L', '3433', '5561', 'c', 'Q']
[A]: S, H, i, e, w, K, w, e, B, L, L, c, Q, 4025, 3605, 3945, 5713, 6575, 4557, 6589, 8363, 655, 2597, 1251, 1297, 7889, 6491, 6531, 6895, 6127, 3433, 5561


[Q]: ['s', 'R', '5665', 'm', '2001', 'h', '2117', 'X', '453', 'S', '5799', '911', '7823', 'v', 'Z', '7171', 'l', 'p', '6701', 't', 'a', 'Y', '873', '2811', 'Y', '9533', '4317', 'Q', 'N', '2099', 'R', 'U', 'e', 'L', '9503', 'n', 'w', '7289', '1289']
[A]: s, R, m, h, X, S, v, Z, l, p, t, a, Y, Y, Q, N, R, U, e, L, n, w, 5665, 2001, 2117, 453, 5799, 911, 7823, 7171, 6701, 873, 2811, 9533, 4317, 2099, 9503, 7289, 1289


[Q]: ['1811', 's', '2093', 'g', 'P', '3883', 'X', 'M', 'a', 'p', 'X', '5743', '3027', 'u', '3415', 'w', '1913', '3093', 'x', 'I', '6881', 'z', 'p', 'R', 'Q', '5903', '8027', '9353', 'n', 'E', '5423', 'a', '5603', '6841', '321', 'H', 'Y']
[A]:
s, g, P, X, M, a, p, X, u, w, x, I, z, p, R, Q, n, E, a, H, Y, 1811, 2093, 3883, 5743, 3027, 3415, 1913, 3093, 6881, 5903, 8027, 9353, 5423, 5603, 6841, 321