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: ['5115', '8571', 'v', '1681', '1523', 'X', 'L', '1295', '1543', '3873', 'O', '4525', '9563', 'y', 'Z', '1841', 'F', 'H', '1433', 'x', 'v', 'X', 'r', '785', 'y', 'M', 'v', '9625', '9009']

SOLUTION: v, X, L, O, y, Z, F, H, x, v, X, r, y, M, v, 5115, 8571, 1681, 1523, 1295, 1543, 3873, 4525, 9563, 1841, 1433, 785, 9625, 9009

PROBLEM: ['e', '1253', 'i', '5223', 'T', '5035', '1425', 'X', '985']

SOLUTION: e, i, T, X, 1253, 5223, 5035, 1425, 985

PROBLEM: ['g', 'b', 'z']

SOLUTION:
g, b, z