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.

['6005', '5761', '8525', 'm', 'H', 'U', 'I', 'C', '9565', 'M', 'H', 'l', '3179', 'i', 'Y', 'b', '9581', 'K', '6777', '3653']
m, H, U, I, C, M, H, l, i, Y, b, K, 6005, 5761, 8525, 9565, 3179, 9581, 6777, 3653

['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', '1745', '9663', '3237', '7195', '8829', 'D', '519', 'q', '401', 'T', 'K', '7271', 'a', '903', '4687', '3643', '7253', 'e', '2787', '4427', '7249', '5595', '8857', 'a', 'E', 'y', 't', '2597', 's', '8223', '2061', 'x']

H, D, q, T, K, a, e, a, E, y, t, s, x, 1745, 9663, 3237, 7195, 8829, 519, 401, 7271, 903, 4687, 3643, 7253, 2787, 4427, 7249, 5595, 8857, 2597, 8223, 2061