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]: ['5463', '9001', 'C', 'r', '1813', 'n', 'v', 'r', 'k', 'n', 'A', '5577', '2807', '2311', '5893', '999', 'b', 'h', 'L', 'z', 'q', '5237', 'p', 'N', 'x', 'X', '6513', '9357', 'a', 'U']
[A]: C, r, n, v, r, k, n, A, b, h, L, z, q, p, N, x, X, a, U, 5463, 9001, 1813, 5577, 2807, 2311, 5893, 999, 5237, 6513, 9357


[Q]: ['9965', 'X', '5861', '7349', '2503', '5299', 'G', '4777', '7533', 'F', 'H', '9485', 'e', 'A', '9875', 'w', 'U', '1963', 'o', 't', 'a', '533', 'N', '2199', 'g', 'W', 't', '2483', '8353', 'P', '1303', '4605', '4921', 'J', '9867', '1487', 'A', 'a', 'c']
[A]: X, G, F, H, e, A, w, U, o, t, a, N, g, W, t, P, J, A, a, c, 9965, 5861, 7349, 2503, 5299, 4777, 7533, 9485, 9875, 1963, 533, 2199, 2483, 8353, 1303, 4605, 4921, 9867, 1487


[Q]: ['5637', '8343', '441', '9397', 'A', '4645', 'g', '3717', '8957', 'h', 'f', '3721', 'Z', 't', '241', 'E', 'k', '6131', 'w', 'P', '4549', '6011', '455', '7545', '3901', '5697', '3851', 'F', '2011', 'V', 'T', 'G', 'E', '4051', 'p', 'j']
[A]:
A, g, h, f, Z, t, E, k, w, P, F, V, T, G, E, p, j, 5637, 8343, 441, 9397, 4645, 3717, 8957, 3721, 241, 6131, 4549, 6011, 455, 7545, 3901, 5697, 3851, 2011, 4051