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.

['P', 'D', '199', '8721', '9133', 'b', 'i', '4041', 'l', '2799', '5949', '2191', '7095', '4573', 'h', '1561', 'k', 'J', 'a', 'O', '5877', '5109', 'X', '2253', '4381', 'S', '3609', '4219', 'Y', 'L', '9165', '1911', '861', '8627']
P, D, b, i, l, h, k, J, a, O, X, S, Y, L, 199, 8721, 9133, 4041, 2799, 5949, 2191, 7095, 4573, 1561, 5877, 5109, 2253, 4381, 3609, 4219, 9165, 1911, 861, 8627

['4861', 'f', 'G', 'J', '3741', '8033', 'h', '6061', '4901', '3603', '4971']
f, G, J, h, 4861, 3741, 8033, 6061, 4901, 3603, 4971

['b', 'A', '6401', 'N', 't', 'V', 's', 'i', '6143', 'N', '6377', 'n', 'm', '5725', '8819', '4769', '3817', 'Q', '7535', '7981', '6939', 'q', '3545', '453', '8389', '2025', 'q', 'U']

b, A, N, t, V, s, i, N, n, m, Q, q, q, U, 6401, 6143, 6377, 5725, 8819, 4769, 3817, 7535, 7981, 6939, 3545, 453, 8389, 2025