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: ['8455', '2451', 'U', 'M', '5283', 'y', '9591', '6539', '5209', '2487', '5949', 'm', '6847', '7149', 'v', 'w', '1039', '3381', '675', 'y', 'd', 'T', 'e', 'P', 'T', '4661', '9227', '5775']

SOLUTION: U, M, y, m, v, w, y, d, T, e, P, T, 8455, 2451, 5283, 9591, 6539, 5209, 2487, 5949, 6847, 7149, 1039, 3381, 675, 4661, 9227, 5775

PROBLEM: ['N', '975', '613', '1795', 'L', '6847', 'p', 'f', '9823', '6177', 'F', 'i']

SOLUTION: N, L, p, f, F, i, 975, 613, 1795, 6847, 9823, 6177

PROBLEM: ['8697', 'X', '7561', 't', 'u', '1667', '1755', 'd', '8515', '3289', 'm', 'K', '2095', '7851']

SOLUTION:
X, t, u, d, m, K, 8697, 7561, 1667, 1755, 8515, 3289, 2095, 7851