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: ['S', 'n', 'w', 'M', '3629', '1381', 'l', '7203', '1505', '5217', 'F', '5557', '3421', '7659', 'W', 'k', 't', 'K', 'W', 'q', '4039', 'b', 't', 'd', '5415', 'F', 't', 'u', 'W', 'j', '6425', 'Y']

SOLUTION: S, n, w, M, l, F, W, k, t, K, W, q, b, t, d, F, t, u, W, j, Y, 3629, 1381, 7203, 1505, 5217, 5557, 3421, 7659, 4039, 5415, 6425

PROBLEM: ['u', 'E']

SOLUTION: u, E

PROBLEM: ['D', '1151', '5335', '1919', 'x']

SOLUTION:
D, x, 1151, 5335, 1919