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: ['I', 'O', 'h', 'I', '645', 'Y', '5739', '4827', '4875', '4339', '6481', '5413']

SOLUTION: I, O, h, I, Y, 645, 5739, 4827, 4875, 4339, 6481, 5413

PROBLEM: ['Y', 'C', '5581', 'h', '721', 'T', '9727', 'l', 'q', '2239', '2891', 'g', 'b', 'L', 'Y', '1391', '3441', '2845', '7533', 'J', 't', 'i', '4697', '9955', '8751', 'L', '7079', '3327', '7643']

SOLUTION: Y, C, h, T, l, q, g, b, L, Y, J, t, i, L, 5581, 721, 9727, 2239, 2891, 1391, 3441, 2845, 7533, 4697, 9955, 8751, 7079, 3327, 7643

PROBLEM: ['G', '349', 'l', 't', '155', 'a', '3529', 'm', 'O', '9471', 'n', '9533']

SOLUTION:
G, l, t, a, m, O, n, 349, 155, 3529, 9471, 9533