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]: ['R', 'G', 'q', 'h', 'S', '3927', 'F', '1733', 'J', '891', 'Y', 'w', '9279', '447', 'L', '3511', '4641', '2599', 'q', 'd', '6279', '8873', '2225', 'S', 'x', 'j', 'e', '9103', '9821', '9405', 'l', 'g', '623', 'b', 'd', '5225', 'U']
[A]: R, G, q, h, S, F, J, Y, w, L, q, d, S, x, j, e, l, g, b, d, U, 3927, 1733, 891, 9279, 447, 3511, 4641, 2599, 6279, 8873, 2225, 9103, 9821, 9405, 623, 5225


[Q]: ['2995', 'x', 'K', 'p', '2923', 'O', 'd', '2747', '9895', 'f', '8609', 'M', 'f', '8977', '8939', 'Q', '2135', 'd', 'e', 'P', 'W', '807', '5311', 'W']
[A]: x, K, p, O, d, f, M, f, Q, d, e, P, W, W, 2995, 2923, 2747, 9895, 8609, 8977, 8939, 2135, 807, 5311


[Q]: ['Q', '2667', '4561', 'y', 'Q', '6797', '9477', '2267', 'g', '931', 'm']
[A]:
Q, y, Q, g, m, 2667, 4561, 6797, 9477, 2267, 931