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.

Example Input: ['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']
Example Output: Z, a, x, m, f, p, 3217, 5145

Example Input: ['D', 'r', '4449', 'Z', '5365', '1', 'O', 'S', 'A', '9963', '3923', '7051', '8531', '2529', 'E', '1319', '6455', '593', 'N', 'M', 'O']
Example Output: D, r, Z, O, S, A, E, N, M, O, 4449, 5365, 1, 9963, 3923, 7051, 8531, 2529, 1319, 6455, 593

Example Input: ['1731', 'n', 'g', 'D', '3451', 's', 'l', '2785', '9741', 'i', 'I', '5483', '9705', 'o', '2935', '3641', '9413', 'X', 'a', 'M', '1781', 'X', 'r', 'q', 'o', '9917', 'U', '353', '6321', 'Z', '5811']
Example Output:
n, g, D, s, l, i, I, o, X, a, M, X, r, q, o, U, Z, 1731, 3451, 2785, 9741, 5483, 9705, 2935, 3641, 9413, 1781, 9917, 353, 6321, 5811