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:
['8031', 'X', 'j', 'm', 'x', 'O', 'Y', 'p', 'z', 'U', '5125', 'J', '9977', '8977', '3787', '5241', 'z', '8985', '5807', '5063', '1133', '8497', 'n', 'C', 'j', 'X', '3299', 'Y', 'X', 't', '6197', 'a', 'f', 'S']

Ex Output:
X, j, m, x, O, Y, p, z, U, J, z, n, C, j, X, Y, X, t, a, f, S, 8031, 5125, 9977, 8977, 3787, 5241, 8985, 5807, 5063, 1133, 8497, 3299, 6197


Ex Input:
['X', '4861', '4531']

Ex Output:
X, 4861, 4531


Ex Input:
['g', 's', '9925', '9797', '4657', '8661', '9033', 'd', '1569', 'Z', '5663', 'X', 'n', 'T', '279', '1105', 'r', 'z', 'z', 'c', 'y', '4307', 'C', 'i', 'k', '9909', '3331', 'S', 'M', '6329', '9437', '7781', '115', '231', 'x', 'm']

Ex Output:

g, s, d, Z, X, n, T, r, z, z, c, y, C, i, k, S, M, x, m, 9925, 9797, 4657, 8661, 9033, 1569, 5663, 279, 1105, 4307, 9909, 3331, 6329, 9437, 7781, 115, 231