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: ['a', 'E', 'x', 'l', 'G', '9823', 'b', '6889', 'W', 'l', 'S', '273', 'f', 'a']

SOLUTION: a, E, x, l, G, b, W, l, S, f, a, 9823, 6889, 273

PROBLEM: ['Q', '8275', 'r', '4235', 'F', 'p']

SOLUTION: Q, r, F, p, 8275, 4235

PROBLEM: ['1051', '2657', '6655', 'c', 'b', 'A', '3153', 'M', '3603', 'e', 'F', 'X', 'o', '9623', 'e', '7751', 'h']

SOLUTION:
c, b, A, M, e, F, X, o, e, h, 1051, 2657, 6655, 3153, 3603, 9623, 7751