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: ['S', '8623', '3431', 'l', '3533', 'M', '1275', 'b', '8911', 'X', '175', 'V', 'p', '8409', 't', 'i', '2873', 'J', 'v', '7249', '6847', '1585', 'h', 'y', 'I']

SOLUTION: S, l, M, b, X, V, p, t, i, J, v, h, y, I, 8623, 3431, 3533, 1275, 8911, 175, 8409, 2873, 7249, 6847, 1585

PROBLEM: ['Z', '3699', 'b', '117', 'R', 'D', '6799']

SOLUTION: Z, b, R, D, 3699, 117, 6799

PROBLEM: ['t', '5673', 'S', '7673', '127', 'u', '8759', '7965', '5953', 'm', 'K', '4921', '4293', '8341', 'P', 'i', 'h', 'J', '1011', '1273', '893', 'h', 'y']

SOLUTION:
t, S, u, m, K, P, i, h, J, h, y, 5673, 7673, 127, 8759, 7965, 5953, 4921, 4293, 8341, 1011, 1273, 893