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: ['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: ['T', '5777', '3067', '2309', 'S', 'H', 'e', '5353', '2675', '2233', '7635', '7559', '1797', 'G', '3733', 'm', '3775', 'Q', '3827', '1607', 'M', '2039', 'D', 'w', 'C', 'S', 'p', 'Y', 'N', 'e', 'n', 'i', '4459', '3267', '4919', '3849']

SOLUTION: T, S, H, e, G, m, Q, M, D, w, C, S, p, Y, N, e, n, i, 5777, 3067, 2309, 5353, 2675, 2233, 7635, 7559, 1797, 3733, 3775, 3827, 1607, 2039, 4459, 3267, 4919, 3849

PROBLEM: ['s', 'A', 'R', '3849', 'k', '997', '7241', '9075', 't', 'Q', 'Y', 'g', 'Y', 'o', 'N', '4889', 'N', 'r', 'H', '6863', '4661']

SOLUTION:
s, A, R, k, t, Q, Y, g, Y, o, N, N, r, H, 3849, 997, 7241, 9075, 4889, 6863, 4661