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]: ['D', '8577', '7971', 'x', 'm', '8323', 'T', '5257', '3341', '3963', '7895', '1465', '1987', '9909', 'o', '245']
[A]: D, x, m, T, o, 8577, 7971, 8323, 5257, 3341, 3963, 7895, 1465, 1987, 9909, 245


[Q]: ['y', '7575', '3941', 'a', '8857', '2961', 'j', '1697', '881', '1783', '9711', '2719', 'Y', 'w', '3065', 'f', 'a', 'I', '7251', 'F', 'o', '5807', '3183', '4971', 'c', '123', 'g', 'o', '7231', '6599', '4687', '563', 'p', '8679']
[A]: y, a, j, Y, w, f, a, I, F, o, c, g, o, p, 7575, 3941, 8857, 2961, 1697, 881, 1783, 9711, 2719, 3065, 7251, 5807, 3183, 4971, 123, 7231, 6599, 4687, 563, 8679


[Q]: ['7349', '6683', '5643', '7759', 'L', '8405', '3271', 'P', 'F', 'H', 'Q', 'j', 'c', 'f']
[A]:
L, P, F, H, Q, j, c, f, 7349, 6683, 5643, 7759, 8405, 3271