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]: ['n', '4645', 't', 'A', '5319', 'e', '9771', '9493', '3891', '3385', 'Y', '523', 'L', 'k', '4211', 'b', '2273', 'A', 'v', 'D', '6079', '823', 'c', '989', '3477', 'c', '8799', '7277', 'y', 'p', '2709']
[EX A]: n, t, A, e, Y, L, k, b, A, v, D, c, c, y, p, 4645, 5319, 9771, 9493, 3891, 3385, 523, 4211, 2273, 6079, 823, 989, 3477, 8799, 7277, 2709

[EX Q]: ['y', '9433', '4225', '2795', '6981', '6605', '5023', 'V', '575', 's', 'A', '6977', 'g', '9027', '2383', 'X', 'L']
[EX A]: y, V, s, A, g, X, L, 9433, 4225, 2795, 6981, 6605, 5023, 575, 6977, 9027, 2383

[EX Q]: ['1857', 'c', 'R', 'g', 'g', '5619', '1119', '7263', 'B', 'm', '1293', 'C', '9245', '5285', 'L', '3927', 'm', 'h', '6935', '1149', 'Q', 'P', 'g', 'T', 'R', 'U', '151', 'c', 'Z', 'p', 'f', 'L', 'z', '6791', 'n']
[EX A]:
c, R, g, g, B, m, C, L, m, h, Q, P, g, T, R, U, c, Z, p, f, L, z, n, 1857, 5619, 1119, 7263, 1293, 9245, 5285, 3927, 6935, 1149, 151, 6791