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: ['g', 'Z', 'D', 'W', 'j', 'a', 'q', 'L', '7219', 'O', '4489', '5149', 'A', '7605', '2361', 'v', '865', 'S', 'g', 'P', 'u', 'l', 'A', 'w']

SOLUTION: g, Z, D, W, j, a, q, L, O, A, v, S, g, P, u, l, A, w, 7219, 4489, 5149, 7605, 2361, 865

PROBLEM: ['8983', '3387', 'A', '7837', '5923', 'f', 'G', '2929', '4447', '8045', 'h', '1391', '8899', 'P', 'K', '2027', '1473', '3891', '1059', 'o', 'f', 'k', '6831', 'o', 'M']

SOLUTION: A, f, G, h, P, K, o, f, k, o, M, 8983, 3387, 7837, 5923, 2929, 4447, 8045, 1391, 8899, 2027, 1473, 3891, 1059, 6831

PROBLEM: ['e', '7643', '7013', '405', 'B', 'F', 'V', 'Q', '573', 'B', '5885', '1069', 'U', 'g', 'T', 'D', 'I', '1253', '5877', '5545', '5831', 'O', 'H', '6579', 'N', 'e']

SOLUTION:
e, B, F, V, Q, B, U, g, T, D, I, O, H, N, e, 7643, 7013, 405, 573, 5885, 1069, 1253, 5877, 5545, 5831, 6579