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:
['6339', 's', 'y', '8869', '1179', 'L', 'M', 'H', 'G', '1989', 'm', 'x', '8581', '1917', 'Q', '5041', '6379', '4323', '417', '1251', '5483', '1927', '2315', '9079', '2089', 'N', '2731', '4553', 'I', '1791', '9797', 'k', 'r', 'D', 'x']
answer:
s, y, L, M, H, G, m, x, Q, N, I, k, r, D, x, 6339, 8869, 1179, 1989, 8581, 1917, 5041, 6379, 4323, 417, 1251, 5483, 1927, 2315, 9079, 2089, 2731, 4553, 1791, 9797


question:
['3425', '7105', 'p']
answer:
p, 3425, 7105


question:
['5317', '167', 'S', 'C', '1023', 'u', '405', 'g', 'q', '1901', '6943', 'w', 'y', 'E', 'd', '2455', 'D', 'G', 'A', 'a', 'U']
answer:

S, C, u, g, q, w, y, E, d, D, G, A, a, U, 5317, 167, 1023, 405, 1901, 6943, 2455