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:
['2217', '9971', 'M', 'f', '407', 'q', '1233', 'f', '6335', '8037', 'l', 'Z', 'w', '8193', '891', 'X', '7163', 'P']

Ex Output:
M, f, q, f, l, Z, w, X, P, 2217, 9971, 407, 1233, 6335, 8037, 8193, 891, 7163


Ex Input:
['t', '861', 'u', 'm', '805', '8481', '4481', '3417', 'i', 'J', '4793', '6811', '4997', '907', 'K', '7877', 'j', 'C', '551', 'C', 'R', '6081', 'X']

Ex Output:
t, u, m, i, J, K, j, C, C, R, X, 861, 805, 8481, 4481, 3417, 4793, 6811, 4997, 907, 7877, 551, 6081


Ex Input:
['g', 'C', 'A', 'Y', 'U', '6497', '4293', 'D', 'V', 'm', 'a', '8839', '8597', '1233', 'c', 'n', 'n', 'g', 'D', 'N', 'p', 'P', 'N']

Ex Output:

g, C, A, Y, U, D, V, m, a, c, n, n, g, D, N, p, P, N, 6497, 4293, 8839, 8597, 1233