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: ['B', 'T', 'y', '4863', '715', 'O', 'i', 'n', '4171', '5175', 's', '4793', '9007', '9755', 'o', 'z', 'S', 'J', 'b', 'q', '5045', '7965']

SOLUTION: B, T, y, O, i, n, s, o, z, S, J, b, q, 4863, 715, 4171, 5175, 4793, 9007, 9755, 5045, 7965

PROBLEM: ['J', '4469', '1443', '1919', '3219', 'c', '4293', 'C', '7159', '2293', '4351', 'g', 'g', 'f', '423', '9373', '6949', 'Q', '3539']

SOLUTION: J, c, C, g, g, f, Q, 4469, 1443, 1919, 3219, 4293, 7159, 2293, 4351, 423, 9373, 6949, 3539

PROBLEM: ['b', 'J', '879', '3669', '5455', '6663', '9439', 'O', '9183', 'N', 'N', '8077']

SOLUTION:
b, J, O, N, N, 879, 3669, 5455, 6663, 9439, 9183, 8077