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: ['h', '2041', '7621', 'f', 'S', '665', 'x', 'g', 'E', '4371', '6589', 'l', 'C', '789', 'm', '2215', '1017', '3089', 'X', '8773']

SOLUTION: h, f, S, x, g, E, l, C, m, X, 2041, 7621, 665, 4371, 6589, 789, 2215, 1017, 3089, 8773

PROBLEM: ['y', 'u', '2937', 'N', 'v', 'O', '7611']

SOLUTION: y, u, N, v, O, 2937, 7611

PROBLEM: ['5593', '7471', '3433', '2033', '2865', '3833']

SOLUTION:
5593, 7471, 3433, 2033, 2865, 3833