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]: ['S', 'a', '6301', '8377', 'H', '8191', '9593', 'b', 'k', '2015', 'J', 'r', 'L', '8157', '4029', '6339', '2587', '6137', 'p', 'y', 'U', '4239', 'C', '159', '5927', '9739', 'o', 'g', '783', 'p', '2029', '8631', '5943', 'J', 'J', 'y', 'E', 'q', 'G', 'I']
[EX A]: S, a, H, b, k, J, r, L, p, y, U, C, o, g, p, J, J, y, E, q, G, I, 6301, 8377, 8191, 9593, 2015, 8157, 4029, 6339, 2587, 6137, 4239, 159, 5927, 9739, 783, 2029, 8631, 5943

[EX Q]: ['5517', 'D', '4687', '7619', 'L', '6063', 'Z', 'v', '411', 'f', '8321', 'S', '7131', '5297', 'S', '2445', 'l', 'z', 'Z', 'D', 'j', '2007', 'f', '3147', '3659', '2051']
[EX A]: D, L, Z, v, f, S, S, l, z, Z, D, j, f, 5517, 4687, 7619, 6063, 411, 8321, 7131, 5297, 2445, 2007, 3147, 3659, 2051

[EX Q]: ['j', '6021', 'n', '4973', '1971', '51', 'S', '3051', '9977', 'Y', 'r', 'b', '3563', '2611', 'a', '7687', 'h', '5029', '4897', 'X', 'C', 'm', '8437', '9943', '731', 'S', '3363', '8437', 'I', '2203', '4337', '3507', '2279', 'O', 'w', '803']
[EX A]:
j, n, S, Y, r, b, a, h, X, C, m, S, I, O, w, 6021, 4973, 1971, 51, 3051, 9977, 3563, 2611, 7687, 5029, 4897, 8437, 9943, 731, 3363, 8437, 2203, 4337, 3507, 2279, 803