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.

Ex Input:
['e', 'g', '7515', '2789', 'b', 'H', '8535', '137', '7261', '7601', '1781', '6419', 'P', 'L', '6473', 'G', '8555', 'C', 'G', '1049', 'x', '4249', '729', 'n', 'y', '2667', '2447', 'w', 'r', '5949', 'M', 'I', 'L', 'i', 't', 'j', '267', '1351']

Ex Output:
e, g, b, H, P, L, G, C, G, x, n, y, w, r, M, I, L, i, t, j, 7515, 2789, 8535, 137, 7261, 7601, 1781, 6419, 6473, 8555, 1049, 4249, 729, 2667, 2447, 5949, 267, 1351


Ex Input:
['7427', '3515', '7523', '4159', '3001', '2821', 'h', 'D', 'p', 'R', '5721', 'O', 'M', '9639', 'i', 'y', 'O', '2093', 'K']

Ex Output:
h, D, p, R, O, M, i, y, O, K, 7427, 3515, 7523, 4159, 3001, 2821, 5721, 9639, 2093


Ex Input:
['y', '2975', '1049', '1311', '5517', '2489', 'Q', '1617', 'A', 'O', 'y', '9789', '9797', '711', '6709', 'c', '6679', '7247', '129', 'g', '4057', '5355', 'W', 'J', '6723', 'o', '3915', '3845', '5205', 'T', 'u', 'R']

Ex Output:

y, Q, A, O, y, c, g, W, J, o, T, u, R, 2975, 1049, 1311, 5517, 2489, 1617, 9789, 9797, 711, 6709, 6679, 7247, 129, 4057, 5355, 6723, 3915, 3845, 5205