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:
['g', 'Z', 'D', 'W', 'j', 'a', 'q', 'L', '7219', 'O', '4489', '5149', 'A', '7605', '2361', 'v', '865', 'S', 'g', 'P', 'u', 'l', 'A', 'w']
answer:
g, Z, D, W, j, a, q, L, O, A, v, S, g, P, u, l, A, w, 7219, 4489, 5149, 7605, 2361, 865


question:
['c', '8771', 't', 'e', '8875', 'q']
answer:
c, t, e, q, 8771, 8875


question:
['7835', '6137', '1533', 'V', '9243', '9243', 'S']
answer:

V, S, 7835, 6137, 1533, 9243, 9243