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: ['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: ['4815', '8851', 'G', 'X', 'o', '8431', '3023', '3981', 'I', 'X', 'E', '9227', '9149', 'J', 'v', '1211', '5729', 'A', 'h', 'f', 'X', '7565']

SOLUTION: G, X, o, I, X, E, J, v, A, h, f, X, 4815, 8851, 8431, 3023, 3981, 9227, 9149, 1211, 5729, 7565

PROBLEM: ['751', 'B', '8117']

SOLUTION:
B, 751, 8117