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: ['921', 'u', '6775', '9867', '1727', 'U', '5903', 'E', '1769', '2411', '3819']

SOLUTION: u, U, E, 921, 6775, 9867, 1727, 5903, 1769, 2411, 3819

PROBLEM: ['G', '2759', 'C', '6811', 't', 'p', 'Q', '9387', 'R']

SOLUTION:
G, C, t, p, Q, R, 2759, 6811, 9387