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: ['E', 'j', '5929', 'N', '4205', '4785', 'D', 'c', '3533', '8689', '8511', 'd', '3375', 'G', 'Y', '9909', 'R', '377', 'M', 'u', '8709', 'W', '6291', 'Z', 'e', '5291', '6033', 'g', 'w', '7365', '1283', '6665', '8119', '5015', 'y', 'F']

SOLUTION: E, j, N, D, c, d, G, Y, R, M, u, W, Z, e, g, w, y, F, 5929, 4205, 4785, 3533, 8689, 8511, 3375, 9909, 377, 8709, 6291, 5291, 6033, 7365, 1283, 6665, 8119, 5015

PROBLEM: ['9929', '1121', '7789', '2189', '6513', 's', '7111', '2125', 'G', 'q', '3003', '2751', '4481', '4111', '447', 'J', '673', '8357', '6187', '3055']

SOLUTION: s, G, q, J, 9929, 1121, 7789, 2189, 6513, 7111, 2125, 3003, 2751, 4481, 4111, 447, 673, 8357, 6187, 3055

PROBLEM: ['P', 'z', 'r', '3723', '509', '355', 'd', '4203', '639', 'd', 'I', '2877', '8743', '531', 'y', '5909', '225', 'y', 'G', '1995', '3109', 'B', '3563', '4121', '5577', 'Q', '8659', 'T', '6371', '7265', '7787', '4971', '7801', 'T', '9975', '9741', '3953', 's']

SOLUTION:
P, z, r, d, d, I, y, y, G, B, Q, T, T, s, 3723, 509, 355, 4203, 639, 2877, 8743, 531, 5909, 225, 1995, 3109, 3563, 4121, 5577, 8659, 6371, 7265, 7787, 4971, 7801, 9975, 9741, 3953