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:
['l', '5217', '8579', 'Y', '9315', 'r', 'T', 'i']
answer:
l, Y, r, T, i, 5217, 8579, 9315


question:
['3937', '493', 'A', 'J', '67']
answer:
A, J, 3937, 493, 67


question:
['t', 'C', 'e', '4277', '5303', '1535', '6495', '1561', 'i', '3163', 'p', 'y', 't', 'Z', 'b', 'n', '1385', 'z', 'O', '8691', 'u', '91', '657', '4595', 'X', 'z']
answer:

t, C, e, i, p, y, t, Z, b, n, z, O, u, X, z, 4277, 5303, 1535, 6495, 1561, 3163, 1385, 8691, 91, 657, 4595