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: ['7879', 'h', '5401', 'e', 'B', '9419', 'f', '7509', '2617', 'r', 'q', 'L', '2453']

SOLUTION: h, e, B, f, r, q, L, 7879, 5401, 9419, 7509, 2617, 2453

PROBLEM: ['w', 'F', '6171', '3681', 'O', 'h', 'c', '1121', '8275', '3969', '5159', '351', '3691', 'Q', '4225', '7209', '2767', '6167', '951', 'C', 'K', 'G']

SOLUTION: w, F, O, h, c, Q, C, K, G, 6171, 3681, 1121, 8275, 3969, 5159, 351, 3691, 4225, 7209, 2767, 6167, 951

PROBLEM: ['2311', '1261', 'k', '9709', 'C', '9841', '7073', '4095', 'U', 'B', '7057', '6715', 'Q', 'V', '9461', 'P', '1771', '5723', '6731', 'r', 'y', '993', '9877', 'G', 'u', '279', '1987', '5645', '3021']

SOLUTION:
k, C, U, B, Q, V, P, r, y, G, u, 2311, 1261, 9709, 9841, 7073, 4095, 7057, 6715, 9461, 1771, 5723, 6731, 993, 9877, 279, 1987, 5645, 3021