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: ['m', 'e', 'M', '7929', 't', 't', 'D', '8157', '679', 'k', 'M', 'F', '4777', '1711', 'Q', 'X', 'j', '9805', '5633', 'O', 'F', '4791', '855', 'V', '8851', 'E', '957', 'e', 'z', '2105']

SOLUTION: m, e, M, t, t, D, k, M, F, Q, X, j, O, F, V, E, e, z, 7929, 8157, 679, 4777, 1711, 9805, 5633, 4791, 855, 8851, 957, 2105

PROBLEM: ['2499', 'B', 'W', 'd', '5965', '5747', 'y', 'E', 'J', 'm', '8181', 'B', 'Q', 'Z', '4671', 'c', '6465', '7583', '933', 'z', 'v', '6395', 'g', 'o', '9167', 'e']

SOLUTION:
B, W, d, y, E, J, m, B, Q, Z, c, z, v, g, o, e, 2499, 5965, 5747, 8181, 4671, 6465, 7583, 933, 6395, 9167