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]: ['2989', 'l', 'a', 'C', '6411', 'n', '55', '4103', 'y', 'b', 'G', 'G']
[A]: l, a, C, n, y, b, G, G, 2989, 6411, 55, 4103


[Q]: ['9175', 'k', '2827', 'z', '9377', 'g', 'z', 'I', 'U', 'D', '8353', 'p', 'b', 'C', '9151', '4657', 'p', 'z', '7771', 'D', 'U', 'q', 'f', 'R', 'M', '5491', '5043', '4249', 'l', '3871']
[A]: k, z, g, z, I, U, D, p, b, C, p, z, D, U, q, f, R, M, l, 9175, 2827, 9377, 8353, 9151, 4657, 7771, 5491, 5043, 4249, 3871


[Q]: ['w', '1165', 'o', '5847', '3777', 'E', 'D', 's', '6269', '8979', 'N', 's', 'k', '3817', '8005', '3005', 'Y', 'G', '7037', '4123', 'K', 'h', '6247', 'g', '9845', '1553', 'r', '9041', '7059', 'L', 'a', '2237', 'Q', 'G', '8683', '9049', 'O', 'l']
[A]:
w, o, E, D, s, N, s, k, Y, G, K, h, g, r, L, a, Q, G, O, l, 1165, 5847, 3777, 6269, 8979, 3817, 8005, 3005, 7037, 4123, 6247, 9845, 1553, 9041, 7059, 2237, 8683, 9049