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', '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: ['155', 'a', 'N', 'F', 's', 'E', '1105', 'i', 'o', '5485', 'T', '9365', '1113', 'Z', 'x', 'B', '2513']

SOLUTION: a, N, F, s, E, i, o, T, Z, x, B, 155, 1105, 5485, 9365, 1113, 2513

PROBLEM: ['O', '391', 'T', '8141', 'U', 'b', '1185', 'R', '4817', 'M', '7749', '9693', '7981', 'H', 'O', '8237', '6489', '8191', 'M', 'k', 'U', '2865', 'k', '1413', 'E']

SOLUTION:
O, T, U, b, R, M, H, O, M, k, U, k, E, 391, 8141, 1185, 4817, 7749, 9693, 7981, 8237, 6489, 8191, 2865, 1413