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: ['W', '6247', '7925', '1427', 'v', 'd', '9707', 'q', '6883', '1441', '3913', '265', 'z', 'Q', 'T', 'u', 's', 'p', 'r', '5303', 'L', '8169', '6587', '3293', 'Z', 'G', 's', '4905', '4785', '6537', '1949', 'w', 'G', '7063']

SOLUTION: W, v, d, q, z, Q, T, u, s, p, r, L, Z, G, s, w, G, 6247, 7925, 1427, 9707, 6883, 1441, 3913, 265, 5303, 8169, 6587, 3293, 4905, 4785, 6537, 1949, 7063

PROBLEM: ['9779', 'z', 'p', 'W', '7659', '2619', 'a', '3109', 'i', 'R', 'a', '5287', 'j', '3473', '4907', '7261', 'h', '5289', '43', 'l', 'M', 'o', 'm']

SOLUTION: z, p, W, a, i, R, a, j, h, l, M, o, m, 9779, 7659, 2619, 3109, 5287, 3473, 4907, 7261, 5289, 43

PROBLEM: ['A', 'T', 'w', 'L', '2399', 't', '1041', 'B', '6563', 'L', 'y', 'g', '3205', 'J', '9453', '457', '5937', '8139', 'Z', 'Q']

SOLUTION:
A, T, w, L, t, B, L, y, g, J, Z, Q, 2399, 1041, 6563, 3205, 9453, 457, 5937, 8139