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: ['4959', 'M', '5969', '5543', 'N', 'U', 'h', 'X', '7923', '4573', '983', 'f', 'X', 'e', '1503', 'g', '1927', '721']

SOLUTION: M, N, U, h, X, f, X, e, g, 4959, 5969, 5543, 7923, 4573, 983, 1503, 1927, 721

PROBLEM: ['8031', 'X', 'j', 'm', 'x', 'O', 'Y', 'p', 'z', 'U', '5125', 'J', '9977', '8977', '3787', '5241', 'z', '8985', '5807', '5063', '1133', '8497', 'n', 'C', 'j', 'X', '3299', 'Y', 'X', 't', '6197', 'a', 'f', 'S']

SOLUTION: X, j, m, x, O, Y, p, z, U, J, z, n, C, j, X, Y, X, t, a, f, S, 8031, 5125, 9977, 8977, 3787, 5241, 8985, 5807, 5063, 1133, 8497, 3299, 6197

PROBLEM: ['4663', 'a', 'T', '2955', '6411', '8589', '8613', '2197', 'I', '4751', 'C', 'y']

SOLUTION:
a, T, I, C, y, 4663, 2955, 6411, 8589, 8613, 2197, 4751