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', 'J', 'H', 'r', 'q', 'N', 'B', 'W', 'B', '4775', '9463', '601', '5213', '1179', 'H', '2055', 'v', 'x', 'K', 'U', 'B', '8337', '3011', '7853', 'j', 'u', '4223']

SOLUTION: A, J, H, r, q, N, B, W, B, H, v, x, K, U, B, j, u, 4775, 9463, 601, 5213, 1179, 2055, 8337, 3011, 7853, 4223

PROBLEM: ['Y', 'M', '2647', 's', '7917', 'p', '3605', '5895', 'k', '4215', '9063', 'T', '5345']

SOLUTION: Y, M, s, p, k, T, 2647, 7917, 3605, 5895, 4215, 9063, 5345

PROBLEM: ['M', 'p', 'H', '8199', 'N', '8629', '4345', 'u', 'C', 'T', 'T', 'K', 'F', '1717', 'z', 'g', 'l', '5109', 'M', '33']

SOLUTION:
M, p, H, N, u, C, T, T, K, F, z, g, l, M, 8199, 8629, 4345, 1717, 5109, 33