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: ['r', '5483', 'w', '1445', '4725', 'u', '8063', '5863', '8783', '4399', '5149', 'J', 'I', 'n', 'w', 'n', 'k', 'i', 'S', '3827', '267', 'h', 'I', '4449', 'a', '7731', 'y', 'T', '9733', '9475', 'H', 'w', 'X', '587', 'O', '3631', '7795', '1903', '9433']

SOLUTION: r, w, u, J, I, n, w, n, k, i, S, h, I, a, y, T, H, w, X, O, 5483, 1445, 4725, 8063, 5863, 8783, 4399, 5149, 3827, 267, 4449, 7731, 9733, 9475, 587, 3631, 7795, 1903, 9433

PROBLEM: ['r', '9459', 'K', 'c', 'W', '3237', '7073', 'Q', 'k', '7663', 'A', '7353', '5791', 'N', 'O', 'S', '2749', '8337', '2273', '6549', 'K', '1713', 'g', '2295', 'w', 'z', 'g', '1551', '1249', 'a', '8717', '5983', '3837', '1607', '8131']

SOLUTION: r, K, c, W, Q, k, A, N, O, S, K, g, w, z, g, a, 9459, 3237, 7073, 7663, 7353, 5791, 2749, 8337, 2273, 6549, 1713, 2295, 1551, 1249, 8717, 5983, 3837, 1607, 8131

PROBLEM: ['627', '3475', 'l', 'L', 'b', 'e', 'u', '4237', '4529', '7063', '587', 'X', '771', 'u', '2763', '8029', 'h', 'O', '6287', '2641', '6991', '1469', '4089', 'b', 'b', '3343', 'K', '3623', 'h', 'n', '7599', '9107', '9461', 'l', 'Q', 'I', '2095', '2149', '2815']

SOLUTION:
l, L, b, e, u, X, u, h, O, b, b, K, h, n, l, Q, I, 627, 3475, 4237, 4529, 7063, 587, 771, 2763, 8029, 6287, 2641, 6991, 1469, 4089, 3343, 3623, 7599, 9107, 9461, 2095, 2149, 2815