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]: ['1363', '4357', '39', 'g', 'j', 'm', 'w', 'y', '8981', '6481', 'p', 'b', '8457', '7229', 'g', '1803', 'i', '9219', 'b', 'm', '661', '3333', '6127', 'T', '1099', 'P', '2173', '6471', '6119', '5409', 'I', '2733', 'm', '7543', 'K']
[EX A]: g, j, m, w, y, p, b, g, i, b, m, T, P, I, m, K, 1363, 4357, 39, 8981, 6481, 8457, 7229, 1803, 9219, 661, 3333, 6127, 1099, 2173, 6471, 6119, 5409, 2733, 7543

[EX Q]: ['4239', '1111', 'n', '6065', '8331', 'v', '4847', 'W', 'D', '1121', 'E', '3707', 'h', 'i', '6417', 's', '487', 't', 'y', '5533', '3211', 'V', 'B', '513', '7427', '2699', 'u', '4179', '9101', 'D', 'C', 'g']
[EX A]: n, v, W, D, E, h, i, s, t, y, V, B, u, D, C, g, 4239, 1111, 6065, 8331, 4847, 1121, 3707, 6417, 487, 5533, 3211, 513, 7427, 2699, 4179, 9101

[EX Q]: ['3167', '1399', 'y', '3995', '3945', 'n', '6033', '279', 'J', '4055', '831', '1105', 'F', '4393', 'H', 'u', '5729', '2543', '5477', 'P', 'h', 'k', '1683', 'R', '1689', 'I', '1199', 'V', 'j', '2469', 's', '8923', '5025', '9729', 'e', 'I', 'X', 'Z']
[EX A]:
y, n, J, F, H, u, P, h, k, R, I, V, j, s, e, I, X, Z, 3167, 1399, 3995, 3945, 6033, 279, 4055, 831, 1105, 4393, 5729, 2543, 5477, 1683, 1689, 1199, 2469, 8923, 5025, 9729