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

['3993', 'T', '9221', 'N', '4453', '9833', 'K', 'n', 'q', '6595', '4521']
T, N, K, n, q, 3993, 9221, 4453, 9833, 6595, 4521

['B', 'y', '1119', 'R', 'i', 'k', '7021', 'e', 'Q', 'm', 'J', 'O', '9415', 'i', 'i', '5659', '111', '643', 'U', '9447', 'F', 'M', 'P', 'i', 'j', '1385', 'u', 'B', '4655', '2813', 'E']

B, y, R, i, k, e, Q, m, J, O, i, i, U, F, M, P, i, j, u, B, E, 1119, 7021, 9415, 5659, 111, 643, 9447, 1385, 4655, 2813