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: ['2887', '235', 'o', 'M', 'H', 'U', '9253', '7967', '1059', '7841']

SOLUTION: o, M, H, U, 2887, 235, 9253, 7967, 1059, 7841

PROBLEM: ['2261', 'C', '305', '2971']

SOLUTION: C, 2261, 305, 2971

PROBLEM: ['4555', '529', '1763', 'c', 'L', '1037', '113', '9857', '8861', 'D', 'f', 'I', 'Y', 'S', 'l']

SOLUTION:
c, L, D, f, I, Y, S, l, 4555, 529, 1763, 1037, 113, 9857, 8861