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: ['D', '8577', '7971', 'x', 'm', '8323', 'T', '5257', '3341', '3963', '7895', '1465', '1987', '9909', 'o', '245']

SOLUTION: D, x, m, T, o, 8577, 7971, 8323, 5257, 3341, 3963, 7895, 1465, 1987, 9909, 245

PROBLEM: ['a', 'R', 'S', 'l', 'I', 'Q', 'G', 'T', '5907', '4393', '8391', 'T', 'f', '3239', 'b', '4281', '175', '7873', '7461', 'D', 'n', 'n', '1101', 'i', '6045', 'w', '927', 'p', 'M', '5475', '6205', '1745', '2311', 'e', '4909', 'x', 'j']

SOLUTION:
a, R, S, l, I, Q, G, T, T, f, b, D, n, n, i, w, p, M, e, x, j, 5907, 4393, 8391, 3239, 4281, 175, 7873, 7461, 1101, 6045, 927, 5475, 6205, 1745, 2311, 4909