instruction:
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', 'Y', '6597', '6127', '8955']
answer:
q, Y, 6597, 6127, 8955


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:
['2737', 'J', 'T', '8123', 'u', '5511', '5419', 'Y', 'B', 'v', '7357', '5463', '507', '427', 'n', '3369', 'R', 'c', 'F', '4789', '8671', 'J', '3267', 't', '4933', 'K', 'j', 'l', 'C', 'P', '2167', 'j', '6013']
answer:

J, T, u, Y, B, v, n, R, c, F, J, t, K, j, l, C, P, j, 2737, 8123, 5511, 5419, 7357, 5463, 507, 427, 3369, 4789, 8671, 3267, 4933, 2167, 6013