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.

['A', 'J', 'H', 'r', 'q', 'N', 'B', 'W', 'B', '4775', '9463', '601', '5213', '1179', 'H', '2055', 'v', 'x', 'K', 'U', 'B', '8337', '3011', '7853', 'j', 'u', '4223']
A, J, H, r, q, N, B, W, B, H, v, x, K, U, B, j, u, 4775, 9463, 601, 5213, 1179, 2055, 8337, 3011, 7853, 4223

['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

['2611', '8503', '8589', 'N', '7969', '5363', '6327', '7287', 'a', 'D', '3829', '2693', 'e', 'y', 'P', '6137', 'B']

N, a, D, e, y, P, B, 2611, 8503, 8589, 7969, 5363, 6327, 7287, 3829, 2693, 6137