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: ['x', 'f', 'L', '3955', '2651', 'q', '7975', 'I', '5809', '5131', '5109', 'p', 'J', '6093', '9679', '3367', '7145']

SOLUTION: x, f, L, q, I, p, J, 3955, 2651, 7975, 5809, 5131, 5109, 6093, 9679, 3367, 7145

PROBLEM: ['x', '7833', '9383', 'm', 'g', '2615', '691', 'D', '8627']

SOLUTION: x, m, g, D, 7833, 9383, 2615, 691, 8627

PROBLEM: ['v', 'j', 'B', 'g']

SOLUTION:
v, j, B, g