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: ['9415', '4357', 'u', 'j', 'X', 'N']

SOLUTION: u, j, X, N, 9415, 4357

PROBLEM: ['9413', '7311', '7847', '3375', 'L', 'U', 'C', 'h', '5473', 'p', '9329', '8253', 'R', '675', '3083', '2539', 'w', '7175', 'E', 'h', 'c', 'y', 'x', 'U', 'V', '3791', '7645', 'X', '9861']

SOLUTION:
L, U, C, h, p, R, w, E, h, c, y, x, U, V, X, 9413, 7311, 7847, 3375, 5473, 9329, 8253, 675, 3083, 2539, 7175, 3791, 7645, 9861