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]: ['n', '157', 'F', 'a', 'y', 'r', 'R', 'v', '9255', 'R', '2983', '6891', 'y', 'J', '767', 'T', 'a', '2319', 'i', 'p', '9905', '4439', 'v', 'z', '2223', 'U', '93', 'z', '3697', '107', '5911']
[A]: n, F, a, y, r, R, v, R, y, J, T, a, i, p, v, z, U, z, 157, 9255, 2983, 6891, 767, 2319, 9905, 4439, 2223, 93, 3697, 107, 5911


[Q]: ['m', 'e', '4823']
[A]: m, e, 4823


[Q]: ['5951', 'B', '4987', 't', '5797', 'S', 'g', 's', 'E', '2755', 'x', 'a', 'Z', '6459', 'm', '6919', '869']
[A]:
B, t, S, g, s, E, x, a, Z, m, 5951, 4987, 5797, 2755, 6459, 6919, 869