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]: ['m', 'D', 'z', 'I', 'H', 'a', 'U', '8661', '8367', 'B', '1349', 'z']
[A]: m, D, z, I, H, a, U, B, z, 8661, 8367, 1349


[Q]: ['i', 'S', 'n', 'E', 's', 'P', 'z', 'b', 't', '7261', '3357', '2281', '6641', 'q', '723', 'E', 'L', 'z', '8049', 's', 'x', '9063', '6391', 'q', 'G', '8737', 'l', 'A']
[A]: i, S, n, E, s, P, z, b, t, q, E, L, z, s, x, q, G, l, A, 7261, 3357, 2281, 6641, 723, 8049, 9063, 6391, 8737


[Q]: ['R', 'U', '25', 'a']
[A]:
R, U, a, 25