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.

['v', 'p', 'd', 'D', 'u', '8905', '4031', 'x', 'i', '2727', 'F', 'i', '4877', '6781', '433', 'c', 'q', 'X', 'G', 'u', '6155', '4239', '9599', 'c', '165', '39', '9491', 'y', 'x', '8959', 'S', '3145']
v, p, d, D, u, x, i, F, i, c, q, X, G, u, c, y, x, S, 8905, 4031, 2727, 4877, 6781, 433, 6155, 4239, 9599, 165, 39, 9491, 8959, 3145

['S', 'a', '6301', '8377', 'H', '8191', '9593', 'b', 'k', '2015', 'J', 'r', 'L', '8157', '4029', '6339', '2587', '6137', 'p', 'y', 'U', '4239', 'C', '159', '5927', '9739', 'o', 'g', '783', 'p', '2029', '8631', '5943', 'J', 'J', 'y', 'E', 'q', 'G', 'I']
S, a, H, b, k, J, r, L, p, y, U, C, o, g, p, J, J, y, E, q, G, I, 6301, 8377, 8191, 9593, 2015, 8157, 4029, 6339, 2587, 6137, 4239, 159, 5927, 9739, 783, 2029, 8631, 5943

['3117', '3561', 'q']

q, 3117, 3561