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:
['M', 'G']

Ex Output:
M, G


Ex Input:
['405', '2287', '9671', '5581', 'S', 'W', 'a', 'I', '5965', '5165', '6109', 'C', 'O', '8787', '141', '8211', 'm', 'f', 'g', 'Z', '9305', 'D', 'N', '193', 'D', '419', '7545']

Ex Output:
S, W, a, I, C, O, m, f, g, Z, D, N, D, 405, 2287, 9671, 5581, 5965, 5165, 6109, 8787, 141, 8211, 9305, 193, 419, 7545


Ex Input:
['J', '6789', 'V', '9407', 'I', '7665', '2981', '7917', '4663', 'U', '3769', 'i', 'D', '1369', '5093', 'Y', 't', '7137', '8331', '3015', '5719', '249', '4727', 'p', 'o', '1181', 'i', '197', 'W', '5911', '1171', '7681']

Ex Output:

J, V, I, U, i, D, Y, t, p, o, i, W, 6789, 9407, 7665, 2981, 7917, 4663, 3769, 1369, 5093, 7137, 8331, 3015, 5719, 249, 4727, 1181, 197, 5911, 1171, 7681