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.

['8879', '5293', 'x', 'Y', 'I', '7817', 'Y', 'C', 'f', 'd']
x, Y, I, Y, C, f, d, 8879, 5293, 7817

['r', 'g', '5847', '329', '6267']
r, g, 5847, 329, 6267

['y', '5107', 'J', 'W', 'j', '2751', 'q', '9099', '9955', '2371', '6883', '1131', 'm', '1005', '4057', 'X', 'E', 'T', 'T', 'v', 'a', 'n', '1053', 'M', '9467', 'U', '6213', '9903', '8187', 'u', '9201', 't', '7475', 'e', '3893']

y, J, W, j, q, m, X, E, T, T, v, a, n, M, U, u, t, e, 5107, 2751, 9099, 9955, 2371, 6883, 1131, 1005, 4057, 1053, 9467, 6213, 9903, 8187, 9201, 7475, 3893