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', 'p', 'f', 'w', '1927', '2763', 'C', '2047', '7009', '7705', '5017', 'X', 'Z', 'c', 'O', 'p', 'n', '7685', '9255', 'L', '9653', '4471', '9485', 'l', 'H', '9169', 'H', 'O', '995', 'G']

SOLUTION: W, p, f, w, C, X, Z, c, O, p, n, L, l, H, H, O, G, 1927, 2763, 2047, 7009, 7705, 5017, 7685, 9255, 9653, 4471, 9485, 9169, 995

PROBLEM: ['D', 'P', '7505', 'Z', 'u', '3193', 'R', 'q', '2199', '9271', '8289', '8941', 'i', 'I', '3967', '6461', 'F', '5747', '5349', 'E', '9019', '9865', '4581', '8423', '8649', 'Q', 'o', '8085', '7383', 'i', 'a', 'T', 'S', '2559']

SOLUTION: D, P, Z, u, R, q, i, I, F, E, Q, o, i, a, T, S, 7505, 3193, 2199, 9271, 8289, 8941, 3967, 6461, 5747, 5349, 9019, 9865, 4581, 8423, 8649, 8085, 7383, 2559

PROBLEM: ['H', '7835', '7179', 'g', '2329', 'V', '6613', '6351', 'B', 'K', 'T', '1993', 'e', 'r']

SOLUTION:
H, g, V, B, K, T, e, r, 7835, 7179, 2329, 6613, 6351, 1993