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: ['9145', '6639', 'l', 'T', 's', 'X', '1485', '7971', 'P', '8157', 'E', '3797', 'c', '1981', 'j', 'j', '83', 's', '7441', 'J', 'z', 'q', 'n', '5063', 'U', 'D', '2213', 'c', '7307', 'C', 'x', 'K', 'W', 'K', '1671', '5895', 's', 'p', 'S']

SOLUTION: l, T, s, X, P, E, c, j, j, s, J, z, q, n, U, D, c, C, x, K, W, K, s, p, S, 9145, 6639, 1485, 7971, 8157, 3797, 1981, 83, 7441, 5063, 2213, 7307, 1671, 5895

PROBLEM: ['B', '4739', 'h', '9293', 'b', '9311', '5401', 'd', 'F', 'f', '7363', '3833', 'y', '8901', 'T', 'w', 'J', '9421', 'E', '6551', '5199', 'o', 'T', 'F', 'j', 'u', '7499', 't']

SOLUTION: B, h, b, d, F, f, y, T, w, J, E, o, T, F, j, u, t, 4739, 9293, 9311, 5401, 7363, 3833, 8901, 9421, 6551, 5199, 7499

PROBLEM: ['o', '6661', '8723', 'x', '9921', 'r', '579', '1381', 'd', '2849', '3607', 'S']

SOLUTION:
o, x, r, d, S, 6661, 8723, 9921, 579, 1381, 2849, 3607