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: ['8879', '5293', 'x', 'Y', 'I', '7817', 'Y', 'C', 'f', 'd']

SOLUTION: x, Y, I, Y, C, f, d, 8879, 5293, 7817

PROBLEM: ['2515', 'O', '4657', '6143', 'e', 'y', 'a', 'y', '3549', 'q', '973', '4535', 't', 'X', '5035', 'T', '9837', '2271', 'w', '5605', 't', 't', '8437']

SOLUTION: O, e, y, a, y, q, t, X, T, w, t, t, 2515, 4657, 6143, 3549, 973, 4535, 5035, 9837, 2271, 5605, 8437

PROBLEM: ['41', 'c', 'U', 'T', '1601', '7189', 'y', '3883', '5345', 'Y', 'U', 'S', 'w', 's']

SOLUTION:
c, U, T, y, Y, U, S, w, s, 41, 1601, 7189, 3883, 5345