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:
['h', '2041', '7621', 'f', 'S', '665', 'x', 'g', 'E', '4371', '6589', 'l', 'C', '789', 'm', '2215', '1017', '3089', 'X', '8773']
answer:
h, f, S, x, g, E, l, C, m, X, 2041, 7621, 665, 4371, 6589, 789, 2215, 1017, 3089, 8773


question:
['X', '4861', '4531']
answer:
X, 4861, 4531


question:
['7065', 'q', 'P', 'E', 'O', 'A', 'z', '8863', 't', 'L', 'v', 'n', '2159', '7027', '3179', 'u', '7143', '4687', 'K', '9581']
answer:

q, P, E, O, A, z, t, L, v, n, u, K, 7065, 8863, 2159, 7027, 3179, 7143, 4687, 9581