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', 'G', '2545', 'c', '2661', '9995', '3151', 'o', '5479', '8223', 'z', '3977', '5659', '3137', '8157', 'o', 'x', 'q', 'E', 'R', 'Z', '3961', 'g', 's']

SOLUTION: G, G, c, o, z, o, x, q, E, R, Z, g, s, 2545, 2661, 9995, 3151, 5479, 8223, 3977, 5659, 3137, 8157, 3961

PROBLEM: ['U', '1869', '249', 'W', 'q', '7825', 'l', 'C', 'J', '4275', '3503', 'l', 'F', 'i', 'K', '1217', '8667', '9779', '1477', '445', '2701', 'W', '9035', 'F', '3271', '7013', '5279', '9831', 'g', '593', 'j', '9507']

SOLUTION: U, W, q, l, C, J, l, F, i, K, W, F, g, j, 1869, 249, 7825, 4275, 3503, 1217, 8667, 9779, 1477, 445, 2701, 9035, 3271, 7013, 5279, 9831, 593, 9507

PROBLEM: ['e', 'S', '4833', '9019', 'z', '2715', '1031', 'V', '117', 'M', '6857', 'I', 'S', 'O']

SOLUTION:
e, S, z, V, M, I, S, O, 4833, 9019, 2715, 1031, 117, 6857