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]: ['5099', 'U', 't', 'b', 'Q', 'a', '9219', 'p', '463', 'H', '6407', '6749', 'G', 'M', '3207', '2351', '2541', '1543', 'o', 'i', 'k', '6119', 'x', 'Z', 's', 'b', '3567', 'M', '2565']
[A]: U, t, b, Q, a, p, H, G, M, o, i, k, x, Z, s, b, M, 5099, 9219, 463, 6407, 6749, 3207, 2351, 2541, 1543, 6119, 3567, 2565


[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]: ['819', 'J', '7109', '7669', 'x', 'd', 'J', '7207', '3065', '2493', '5219', '9647', 't', '1161', '6101', 'S', '2245', '7105', 'S', 'y', 'J', 'i', '357', '8179', 'h', '9411', '6875', '7351', '981', '1951', 'y', '7593', 'K', 'M', 'y']
[A]:
J, x, d, J, t, S, S, y, J, i, h, y, K, M, y, 819, 7109, 7669, 7207, 3065, 2493, 5219, 9647, 1161, 6101, 2245, 7105, 357, 8179, 9411, 6875, 7351, 981, 1951, 7593