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.

[EX Q]: ['f', 'M', 'x', 'o', '5023', '5547', '7229', 'D', '4431', '9809', 'k', '3997', '8051', 'O', '7487', '7569', 'l', '3151', '4747', '9525', '3159', '5205', 'y', '2871', 'M', 'R']
[EX A]: f, M, x, o, D, k, O, l, y, M, R, 5023, 5547, 7229, 4431, 9809, 3997, 8051, 7487, 7569, 3151, 4747, 9525, 3159, 5205, 2871

[EX Q]: ['f', 'K', '1105', '6381', '2041', '5839', 'R', '6379', 'F', '6895', '333', 'f']
[EX A]: f, K, R, F, f, 1105, 6381, 2041, 5839, 6379, 6895, 333

[EX Q]: ['9539', '7251', '6177', 'Y', '173', '2749', 'b', '6385', '8725', 'q', 'o', 'v', '9235', 'R', 'C', 'v', '9983', '6877', 'p', '5739', '1639', 'x', '8833', 'L', '4233', '7131', 'g', 't', '5249', 'q', '2191', '4341', '7923', 'u', 'q']
[EX A]:
Y, b, q, o, v, R, C, v, p, x, L, g, t, q, u, q, 9539, 7251, 6177, 173, 2749, 6385, 8725, 9235, 9983, 6877, 5739, 1639, 8833, 4233, 7131, 5249, 2191, 4341, 7923