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.
--------
Question: ['B', 'T', 'y', '4863', '715', 'O', 'i', 'n', '4171', '5175', 's', '4793', '9007', '9755', 'o', 'z', 'S', 'J', 'b', 'q', '5045', '7965']

Answer: B, T, y, O, i, n, s, o, z, S, J, b, q, 4863, 715, 4171, 5175, 4793, 9007, 9755, 5045, 7965


Question: ['N', '975', '613', '1795', 'L', '6847', 'p', 'f', '9823', '6177', 'F', 'i']

Answer: N, L, p, f, F, i, 975, 613, 1795, 6847, 9823, 6177


Question: ['9607', 'm', 'B', 'S', '5219', '479', 'S', '6863', 'O', '5533', '6977', 'm', 'S', '9477', 'p', 'x', '3051', 'i', '1359', 'R', 'D', '5861', 'i', 'I', '8167', 'W']

Answer:
m, B, S, S, O, m, S, p, x, i, R, D, i, I, W, 9607, 5219, 479, 6863, 5533, 6977, 9477, 3051, 1359, 5861, 8167