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: ['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: ['V', 'r', 'k', 'U', '213', 'O', '3673', '4515', 'e', '419', 'j', 'a', '9331', '5391', '8315', 'c', '5753', 'U', 'q', 'p', 'c', 'R', '6075', '6899', '7497', 'h', 'n', '6277']

SOLUTION: V, r, k, U, O, e, j, a, c, U, q, p, c, R, h, n, 213, 3673, 4515, 419, 9331, 5391, 8315, 5753, 6075, 6899, 7497, 6277

PROBLEM: ['2135', 'm', 'u', '7787', 'n']

SOLUTION:
m, u, n, 2135, 7787