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: ['q', 'y', 'h', '6797', 'm', 'p', '3303', '4349', '9779', '6367', '3107', 'R', 'C', '6105', '6165', '6611', 'O', '6697', 'l', 'L', 'Q', '8817', 'x']

SOLUTION: q, y, h, m, p, R, C, O, l, L, Q, x, 6797, 3303, 4349, 9779, 6367, 3107, 6105, 6165, 6611, 6697, 8817

PROBLEM: ['2775', 'u', 'E', 'U', '1205', 'p', '9771', '1329', 'E', '3493', 'G', 'z', '317', '51', '6395', '9727', 'Y', '2907', '3611', '3853', 'v', '8317', '9225', 'K', 'Z', 'j', 'y', 'T', 'h', 's', 'X', '9725', 'u', '1607', 'T']

SOLUTION: u, E, U, p, E, G, z, Y, v, K, Z, j, y, T, h, s, X, u, T, 2775, 1205, 9771, 1329, 3493, 317, 51, 6395, 9727, 2907, 3611, 3853, 8317, 9225, 9725, 1607

PROBLEM: ['j', '4323', 'G', 'h', '3555', '7261', '4325', '1511', 'M', '8303', 'V', '9091', '2435', '9435', 'l', 'E', '1435', 'v', 'N', '6367', 'H', '1073', 'O', 'a']

SOLUTION:
j, G, h, M, V, l, E, v, N, H, O, a, 4323, 3555, 7261, 4325, 1511, 8303, 9091, 2435, 9435, 1435, 6367, 1073