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.

['9145', '6639', 'l', 'T', 's', 'X', '1485', '7971', 'P', '8157', 'E', '3797', 'c', '1981', 'j', 'j', '83', 's', '7441', 'J', 'z', 'q', 'n', '5063', 'U', 'D', '2213', 'c', '7307', 'C', 'x', 'K', 'W', 'K', '1671', '5895', 's', 'p', 'S']
l, T, s, X, P, E, c, j, j, s, J, z, q, n, U, D, c, C, x, K, W, K, s, p, S, 9145, 6639, 1485, 7971, 8157, 3797, 1981, 83, 7441, 5063, 2213, 7307, 1671, 5895

['y', '9433', '4225', '2795', '6981', '6605', '5023', 'V', '575', 's', 'A', '6977', 'g', '9027', '2383', 'X', 'L']
y, V, s, A, g, X, L, 9433, 4225, 2795, 6981, 6605, 5023, 575, 6977, 9027, 2383

['2777', '3055', '2321', '4021', 'Z', 'L', '5345', 'F', '5871', 'n', 'T', '2829', 'F', '5581', 'Z', 'w', 'm', '7565', 'd', 'L', 'D', '8573', '7503', '7549', 't', 'd', '4427', 'b', '3511', 'f', 'R', 'F', '2597', 'C', 'S', 'v', 'U']

Z, L, F, n, T, F, Z, w, m, d, L, D, t, d, b, f, R, F, C, S, v, U, 2777, 3055, 2321, 4021, 5345, 5871, 2829, 5581, 7565, 8573, 7503, 7549, 4427, 3511, 2597