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: ['S', 'a', '6301', '8377', 'H', '8191', '9593', 'b', 'k', '2015', 'J', 'r', 'L', '8157', '4029', '6339', '2587', '6137', 'p', 'y', 'U', '4239', 'C', '159', '5927', '9739', 'o', 'g', '783', 'p', '2029', '8631', '5943', 'J', 'J', 'y', 'E', 'q', 'G', 'I']

Answer: S, a, H, b, k, J, r, L, p, y, U, C, o, g, p, J, J, y, E, q, G, I, 6301, 8377, 8191, 9593, 2015, 8157, 4029, 6339, 2587, 6137, 4239, 159, 5927, 9739, 783, 2029, 8631, 5943


Question: ['8101', 'g', 'a', 'S', 'M', 'M', '9499', '4027', 'c', '6661', '783', 'O', '4471', '6575', '6045', 'i', '1561', '5103', 'l', '4653', '3']

Answer: g, a, S, M, M, c, O, i, l, 8101, 9499, 4027, 6661, 783, 4471, 6575, 6045, 1561, 5103, 4653, 3


Question: ['6257', '3519', 'j', '55', '903', '9157', 't', 'X', '3239', 'N', 'h', 'd', '4887', '7347', 'R', 'l', 'A', 'U', 'q', 'p', '2809', 'Y', '8927', 'q', 'N', 'g', 'Q', 'm', 'J', 'G', 'x']

Answer:
j, t, X, N, h, d, R, l, A, U, q, p, Y, q, N, g, Q, m, J, G, x, 6257, 3519, 55, 903, 9157, 3239, 4887, 7347, 2809, 8927