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: ['W', '4017', 'E', 'G', 'Q', 'W', 'A', 'w', '3995', '7697', '801', 'T', '4419', '3739', 'd', '6419', 'v', 'd', '7459', 'X', '883', 'm', '4587', 'h', '9121', 'H', 'n', '6485']

SOLUTION: W, E, G, Q, W, A, w, T, d, v, d, X, m, h, H, n, 4017, 3995, 7697, 801, 4419, 3739, 6419, 7459, 883, 4587, 9121, 6485

PROBLEM: ['1635', 'y', 'O', 'c', '5409', '9327', 'X', 'X', 'O', '5781', '675', 'Y', 'K', '4147', 'x', 'I', 'J', '8755', '6779', 'Y', 'u', 'F', 'i', 'p', 'T', '2503', '7883', '8253', 'A', 'T', 'g', '6165', '7995']

SOLUTION: y, O, c, X, X, O, Y, K, x, I, J, Y, u, F, i, p, T, A, T, g, 1635, 5409, 9327, 5781, 675, 4147, 8755, 6779, 2503, 7883, 8253, 6165, 7995

PROBLEM: ['8941', 'D', 'R', '7687', 'b', 'k', '3585', '6951', '5829', 'o', 'K', '3587', 'q', 'U', 'X', '8487', 'Y', '5675']

SOLUTION:
D, R, b, k, o, K, q, U, X, Y, 8941, 7687, 3585, 6951, 5829, 3587, 8487, 5675