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: ['p', 'o', 'D', '4813', 's', 'O', '9157', 'Q', '7613', '3561', '705', '3237', 'q', 's', '8167', '651', '7893', 'A', '3727', 'd', '6413', '2753', '8365', 'F', '4505', '8329', '5327', '7753', '2311', '9685', '5449', '4561']

SOLUTION: p, o, D, s, O, Q, q, s, A, d, F, 4813, 9157, 7613, 3561, 705, 3237, 8167, 651, 7893, 3727, 6413, 2753, 8365, 4505, 8329, 5327, 7753, 2311, 9685, 5449, 4561

PROBLEM: ['v', '2899', '2071', '3373', 'O', '6185', '8887']

SOLUTION: v, O, 2899, 2071, 3373, 6185, 8887

PROBLEM: ['B', '4469', 'S', '6103', '6677', '1107', '2717', 'U', '2679', 'h', 'R', '8199', 'k', '6963', 'S', 'F', '2899', 'S', '7923', '1727', 'd', '7365', '7951', 'H', '5969', 't', 'Y']

SOLUTION:
B, S, U, h, R, k, S, F, S, d, H, t, Y, 4469, 6103, 6677, 1107, 2717, 2679, 8199, 6963, 2899, 7923, 1727, 7365, 7951, 5969