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]: ['4239', '3547', 'Z', '8393', 'd', 'p', '5735', '2043', 'v', 'b', 'M', '3807', 'H']
[A]: Z, d, p, v, b, M, H, 4239, 3547, 8393, 5735, 2043, 3807


[Q]: ['K', '797', '3531', 't', 'e', '2261']
[A]: K, t, e, 797, 3531, 2261


[Q]: ['h', 'p', 'n', '8943', 'y', 'y', 'Y', 'I', '9849', '9397', '3807', '6929', '6347', '3771', '4919', '1929', '7785', 'N', '4361', 'H', '1879', '5993', 'g', 'Z', '5233', 'F', 'G', 'D', '3883', '2309', 'g', 'D', '9387', 'h', 'F']
[A]:
h, p, n, y, y, Y, I, N, H, g, Z, F, G, D, g, D, h, F, 8943, 9849, 9397, 3807, 6929, 6347, 3771, 4919, 1929, 7785, 4361, 1879, 5993, 5233, 3883, 2309, 9387