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:
['N', 'M', '3951', '6031', '2277', 'M', 'Z', '1755', 'g', '255', 'G', '3423', 'W', 'Q', '393', 'M', '5045', 'c', 'J', '9001', '8103']

Ex Output:
N, M, M, Z, g, G, W, Q, M, c, J, 3951, 6031, 2277, 1755, 255, 3423, 393, 5045, 9001, 8103


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:
['5783', 'D', 's', 'B', '6167', '7101', 'l', 'J', 'z', '509', 'N', 'C', 'A', '5989', 'R', '6057', 'y', 'V', 'h', '4143', 'M', 'S', '3967']

Ex Output:

D, s, B, l, J, z, N, C, A, R, y, V, h, M, S, 5783, 6167, 7101, 509, 5989, 6057, 4143, 3967