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: ['N', 'M', '3951', '6031', '2277', 'M', 'Z', '1755', 'g', '255', 'G', '3423', 'W', 'Q', '393', 'M', '5045', 'c', 'J', '9001', '8103']

Answer: N, M, M, Z, g, G, W, Q, M, c, J, 3951, 6031, 2277, 1755, 255, 3423, 393, 5045, 9001, 8103


Question: ['l', '4777', '3081', '6583', '1665', '6677', '2663', 'D', 'y', 'J', '801', 'j', '5055', '2445', 'k', 'M', '7851']

Answer: l, D, y, J, j, k, M, 4777, 3081, 6583, 1665, 6677, 2663, 801, 5055, 2445, 7851


Question: ['7205', 't', 'j', '7971', '8687', '4671', '4939', '1005', 'p', '2487', 'M', 'I', '481', '7705', '4321', 'i', 'f', '5225', 't', 'W', '7613', '8295', 'f', '9031', 'K', '3095', 's', '8215', 'S', '4167', '9341', 'q', '519', 'G', '9373', '7379']

Answer:
t, j, p, M, I, i, f, t, W, f, K, s, S, q, G, 7205, 7971, 8687, 4671, 4939, 1005, 2487, 481, 7705, 4321, 5225, 7613, 8295, 9031, 3095, 8215, 4167, 9341, 519, 9373, 7379