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: ['t', 't', '2017', '8431', 'T', '7271', '4561', '4679', 'n', '4909', '1059', '7397', '3957', '8825', '1553', 'I', '941', '6749', '9865', '5947', 'q']

Answer: t, t, T, n, I, q, 2017, 8431, 7271, 4561, 4679, 4909, 1059, 7397, 3957, 8825, 1553, 941, 6749, 9865, 5947


Question: ['e', 'g', '7515', '2789', 'b', 'H', '8535', '137', '7261', '7601', '1781', '6419', 'P', 'L', '6473', 'G', '8555', 'C', 'G', '1049', 'x', '4249', '729', 'n', 'y', '2667', '2447', 'w', 'r', '5949', 'M', 'I', 'L', 'i', 't', 'j', '267', '1351']

Answer: e, g, b, H, P, L, G, C, G, x, n, y, w, r, M, I, L, i, t, j, 7515, 2789, 8535, 137, 7261, 7601, 1781, 6419, 6473, 8555, 1049, 4249, 729, 2667, 2447, 5949, 267, 1351


Question: ['8685', '2531', '2921', 'y', 'v', '4157', '5609', '231', 'Z', 'S', '7963', '417', 'L', '2415', 'X', 'K', '6491', '9161', 'S', '5051', 'C', 't', '3995', '9871', '8653', 't', 'B', '9721', 'B', '5247', 'C', '989', 'E', '5321', '8585', '5595', 'g', 'i', 'a', 'x']

Answer:
y, v, Z, S, L, X, K, S, C, t, t, B, B, C, E, g, i, a, x, 8685, 2531, 2921, 4157, 5609, 231, 7963, 417, 2415, 6491, 9161, 5051, 3995, 9871, 8653, 9721, 5247, 989, 5321, 8585, 5595