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: ['151', '6143', 'W', 'I', '435', 'b', '2677', 'v', 'x', '5309', '3449', '8025', 'j', 'A', '8625', '7941', 'N', '5947', 'J']

SOLUTION: W, I, b, v, x, j, A, N, J, 151, 6143, 435, 2677, 5309, 3449, 8025, 8625, 7941, 5947

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: ['5375', '1129', '7567', 'k', '8057', 'h']

SOLUTION:
k, h, 5375, 1129, 7567, 8057