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: ['r', 'g', '5847', '329', '6267']

Answer: r, g, 5847, 329, 6267


Question: ['L', 'w', 'n']

Answer: L, w, n


Question: ['T', '2905', 'E', 'N', 'P', '9717', '7553', '1167', 'G', '3795', '4135', 'H', '6245', '3767', '5571', '9397', '6429', 'T', 'U', '8963', '3685', '3095', '8005', 'D', '9741', '831', '9177', 'W', '891', '1915', 'g', '6103', '6717', 'B', '9039', 'y']

Answer:
T, E, N, P, G, H, T, U, D, W, g, B, y, 2905, 9717, 7553, 1167, 3795, 4135, 6245, 3767, 5571, 9397, 6429, 8963, 3685, 3095, 8005, 9741, 831, 9177, 891, 1915, 6103, 6717, 9039