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:
['9265', 'L', 'j', 'l', 'g', '4067', 'f', 'R', '5407', 'I', 'z', '1389', 'i', 'g', 'u', '6807', 'k', '9701', 'e', '2513', '627', '6263', 'h', 'm', 'J', 'M']

Ex Output:
L, j, l, g, f, R, I, z, i, g, u, k, e, h, m, J, M, 9265, 4067, 5407, 1389, 6807, 9701, 2513, 627, 6263


Ex Input:
['h', 'j', '7677', '1035', 'r', '625', 'M', 'j', 'P', 'x', '5689', 'V', '561', 'x', '2205', 'K', 'k', 'j', '7835', 'U', 'U', '3323', '8345', 'v', 's', 'o', '5961', '7611', 'F', 'T', '7231', '1687', '4215', 'n', '589', 'N', 'M', 'J']

Ex Output:

h, j, r, M, j, P, x, V, x, K, k, j, U, U, v, s, o, F, T, n, N, M, J, 7677, 1035, 625, 5689, 561, 2205, 7835, 3323, 8345, 5961, 7611, 7231, 1687, 4215, 589