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: ['155', 'a', 'N', 'F', 's', 'E', '1105', 'i', 'o', '5485', 'T', '9365', '1113', 'Z', 'x', 'B', '2513']

SOLUTION: a, N, F, s, E, i, o, T, Z, x, B, 155, 1105, 5485, 9365, 1113, 2513

PROBLEM: ['D', '8577', '7971', 'x', 'm', '8323', 'T', '5257', '3341', '3963', '7895', '1465', '1987', '9909', 'o', '245']

SOLUTION: D, x, m, T, o, 8577, 7971, 8323, 5257, 3341, 3963, 7895, 1465, 1987, 9909, 245

PROBLEM: ['3799', '9255', '6159', '7629', 'd', 'A', 'd', 'Y', '2991', '247', 'V', '8623', 'Y', '3293', '6515', 'L', '6883', 's', '3627', '7147', '2903', '9477', 'N']

SOLUTION:
d, A, d, Y, V, Y, L, s, N, 3799, 9255, 6159, 7629, 2991, 247, 8623, 3293, 6515, 6883, 3627, 7147, 2903, 9477