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.

[Q]: ['E', 'A', '4473', '6193', 'a', 'j', 'q', 'X', '4699', '3557', 'c', 'E', '869', '7195', '6103', '2727', '2717', '8217', '4767', '2127', '9591', 'Y', 'z', 'e', 'H', 'D', '7319', 'v', 'i', '7817']
[A]: E, A, a, j, q, X, c, E, Y, z, e, H, D, v, i, 4473, 6193, 4699, 3557, 869, 7195, 6103, 2727, 2717, 8217, 4767, 2127, 9591, 7319, 7817


[Q]: ['n', '7651', 'l', '1629', 'w', '1795', '1237', '1201', '861', '9627', '1403', '5641', '5905', 'h', '9585', '9561', '6387', '9037', '1643', '4759', '4749']
[A]: n, l, w, h, 7651, 1629, 1795, 1237, 1201, 861, 9627, 1403, 5641, 5905, 9585, 9561, 6387, 9037, 1643, 4759, 4749


[Q]: ['g', 'Z', '7421', '8971', 'S', 'M', 'e', 's', 'o', 'v', '2001', '4573', 'W', '8427', '4153', '3777', 'M', '9257', '867']
[A]:
g, Z, S, M, e, s, o, v, W, M, 7421, 8971, 2001, 4573, 8427, 4153, 3777, 9257, 867