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]: ['1177', '4739', 'W', 'M', '8895', '7313', '5197', '6097', '1583', 'g', '2001', 'c', '771', 'j', 'Y', 'K', '1007', '8887', '2173', '3737', '5797', 'H', '2031', '793', '5971', '6097', 'p', 'L', 'm', '7947', 'l', 'K', '1263', 'l', 'i', '8437', 'U', 'A']
[EX A]: W, M, g, c, j, Y, K, H, p, L, m, l, K, l, i, U, A, 1177, 4739, 8895, 7313, 5197, 6097, 1583, 2001, 771, 1007, 8887, 2173, 3737, 5797, 2031, 793, 5971, 6097, 7947, 1263, 8437

[EX Q]: ['5043', '6057', 'o', 'a', 'I', '3389', 'q', 'Z', '7613', 'u', '9805', '4397', 'S', '9211', '2333', 'f', '4575', 'F', 'O', '2487', '6959', 'S', 'x', '7421', '4643', '6861', '9847', '9697', '2575', '3989', '7331', 'm', '2713', 'P', '8515', 'H', 'k', '9171', '8931']
[EX A]: o, a, I, q, Z, u, S, f, F, O, S, x, m, P, H, k, 5043, 6057, 3389, 7613, 9805, 4397, 9211, 2333, 4575, 2487, 6959, 7421, 4643, 6861, 9847, 9697, 2575, 3989, 7331, 2713, 8515, 9171, 8931

[EX Q]: ['6683', '5745', 'c', '7371', 'A', 'P', '797', 'S', '4415', 'x', 'H', 'P', 'D', '1169', '4261', '945', '6167', 'B', 'S', '6719']
[EX A]:
c, A, P, S, x, H, P, D, B, S, 6683, 5745, 7371, 797, 4415, 1169, 4261, 945, 6167, 6719