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: ['Q', '5883', '9595', '4847', '617', '631', 'F']

Answer: Q, F, 5883, 9595, 4847, 617, 631


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: ['1167', 'T', '7531', '8015', 'X', '8981', 'b', '7257', '1347', '1077', 'Z', 'g', '2245', '5637', '3473', '8369', '6505', 'y', '3955', 'B', '7625', '5391', '4843', '963', '5595', '1295', 'e', '7897', '8043', 'm', 'S', 'w', '6377', '5103']

Answer:
T, X, b, Z, g, y, B, e, m, S, w, 1167, 7531, 8015, 8981, 7257, 1347, 1077, 2245, 5637, 3473, 8369, 6505, 3955, 7625, 5391, 4843, 963, 5595, 1295, 7897, 8043, 6377, 5103