TASK DEFINITION: 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.
PROBLEM: ['4045', '7981', '9957', '9081', 'l', '857', '4133', 'f', '5625', 'G', 'l', 'X', '8375', 'j', 'N', 'j', 'X', 'D', 't', 'o', 'X', 'P', '9501', '3773', 'a', 'o', 'i', '6415', '3207', '6165', 'J', '9905', 'E', 'N', 'g']

SOLUTION: l, f, G, l, X, j, N, j, X, D, t, o, X, P, a, o, i, J, E, N, g, 4045, 7981, 9957, 9081, 857, 4133, 5625, 8375, 9501, 3773, 6415, 3207, 6165, 9905

PROBLEM: ['s', 'F', '9491', 'F', '4309', '5021', '3923', '3213', '6727', 's', '9387', '7435', 'g', '7443', '5539', 'r', '3647', '6535', 'P', '1453', 'e', '323']

SOLUTION: s, F, F, s, g, r, P, e, 9491, 4309, 5021, 3923, 3213, 6727, 9387, 7435, 7443, 5539, 3647, 6535, 1453, 323

PROBLEM: ['Q', 'b', 'A', '3401', '5315', '4221', '5729', '3109', '9465', '1323', 'S', '563', '5247', '1005', 't', '5429', '7645', '9121', 'i', 'P', 'h', '6091', '2277', '8167', 'Z', '5531', 'X', 'v', '6705']

SOLUTION:
Q, b, A, S, t, i, P, h, Z, X, v, 3401, 5315, 4221, 5729, 3109, 9465, 1323, 563, 5247, 1005, 5429, 7645, 9121, 6091, 2277, 8167, 5531, 6705