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

['H', '407', 'n']
H, n, 407

['9447', 't', 'r', 'W', 'H', '8033', 'A', '3001', '3513', 'g', '6215', 'H', '1685', 'd', '5843', '8973', '4737', '2281', 'j']

t, r, W, H, A, g, H, d, j, 9447, 8033, 3001, 3513, 6215, 1685, 5843, 8973, 4737, 2281