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: ['t', '2943', 'y', '8491', 'x', 'Y', 'g', 'w', '3015', '3757', '3901', 'v', 'x', '8581', '5463', '9149', 'b', '1991', 'E', '8373', 'E', '6509', '1483', 'g', 'c', 'C', 'k', '4589', 'F', '5969', 'f', 'w', '2237']

SOLUTION: t, y, x, Y, g, w, v, x, b, E, E, g, c, C, k, F, f, w, 2943, 8491, 3015, 3757, 3901, 8581, 5463, 9149, 1991, 8373, 6509, 1483, 4589, 5969, 2237

PROBLEM: ['6245', 'S', 'Q', '3733', '2885', 'q', 'E', 't', '2453', 'l', '9351', 'Z', 'O', 's', 'o', 'F']

SOLUTION: S, Q, q, E, t, l, Z, O, s, o, F, 6245, 3733, 2885, 2453, 9351

PROBLEM: ['D', '8905', '3155', 's', '3515', 'R', 'U', 'i', 'a', '8077', '8683', 'a', 'G', 'M', 'x', '1163', '6161', 'f', '1367', '4057', '9955', 'a', 'e', 'g', '6103', '157', 'F', 'C', '3685', 'd', '7987', 'X', '3581', 'b']

SOLUTION:
D, s, R, U, i, a, a, G, M, x, f, a, e, g, F, C, d, X, b, 8905, 3155, 3515, 8077, 8683, 1163, 6161, 1367, 4057, 9955, 6103, 157, 3685, 7987, 3581