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:
['P', 'Q', 'G', '3885', 'f', 'n', 'y', 'H', 'c', 'g', 'X', 'J', '2587', '93', 'P', 'k', 'x', '1777', 'L', '837', '8557', 'x', '1031', '1023', '5725', '5547', '2737', 'L']

Ex Output:
P, Q, G, f, n, y, H, c, g, X, J, P, k, x, L, x, L, 3885, 2587, 93, 1777, 837, 8557, 1031, 1023, 5725, 5547, 2737


Ex Input:
['2515', 'O', '4657', '6143', 'e', 'y', 'a', 'y', '3549', 'q', '973', '4535', 't', 'X', '5035', 'T', '9837', '2271', 'w', '5605', 't', 't', '8437']

Ex Output:
O, e, y, a, y, q, t, X, T, w, t, t, 2515, 4657, 6143, 3549, 973, 4535, 5035, 9837, 2271, 5605, 8437


Ex Input:
['G', '1645', 'M', '7939', 'J', '5631', 'P', '7981', '4391', 'g', 'E', '713', '7159', '5887', 'f', 'R', '8277', '6213', 'l', '8247', 'e', 'K', '3141', 'm', '1229', '3745', '1787', '5737', 'u', 'M', '8241', '1635', '3489', '361', 'H', 'g', 'X']

Ex Output:

G, M, J, P, g, E, f, R, l, e, K, m, u, M, H, g, X, 1645, 7939, 5631, 7981, 4391, 713, 7159, 5887, 8277, 6213, 8247, 3141, 1229, 3745, 1787, 5737, 8241, 1635, 3489, 361