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]: ['d', '4491', 'D', 'G', 'I', '1041', '8105', '6671', '2719', '7721', '8031', '5179', '3507']
[A]: d, D, G, I, 4491, 1041, 8105, 6671, 2719, 7721, 8031, 5179, 3507


[Q]: ['J', '3119', 'Q', '1463', 'I', '4493', 'Z', '2583', '1629', 'o', 'N', 'r', 'C', 'S', '6551', 'F', 'G', 'X', 'M', 'n', 'l', '2151', 'B', '5627', '8701', '9207', 's', '9867', 'L', '7129', '5139', '7195', '871']
[A]: J, Q, I, Z, o, N, r, C, S, F, G, X, M, n, l, B, s, L, 3119, 1463, 4493, 2583, 1629, 6551, 2151, 5627, 8701, 9207, 9867, 7129, 5139, 7195, 871


[Q]: ['9953', '8327', 'z', 'g', 'A', 'R', 'a', 'k', '4971', '2549', 'S', '3205', '1889', '4761', '909', '7561', 's', 'x', '2235', 'Z', '6985', '977', '8243', 'z', 'g']
[A]:
z, g, A, R, a, k, S, s, x, Z, z, g, 9953, 8327, 4971, 2549, 3205, 1889, 4761, 909, 7561, 2235, 6985, 977, 8243