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: ['g', '9423', '4427', 'e', 'F', '4515', 'h', '7379', '543', '5923', '347', '1559', '7095', 'G', '8737', '1119', '8573', '6291', '1261', 'z', '7253', 'N', '5341']

SOLUTION: g, e, F, h, G, z, N, 9423, 4427, 4515, 7379, 543, 5923, 347, 1559, 7095, 8737, 1119, 8573, 6291, 1261, 7253, 5341

PROBLEM: ['3497', 'P', 'B', 'L', '2433', 'u', 'y', 'M', 'd', '7085', '8935', '7701', '3829', 'd', 'i', 'd', '4091', 'X', 'Q', 'd', '4139']

SOLUTION: P, B, L, u, y, M, d, d, i, d, X, Q, d, 3497, 2433, 7085, 8935, 7701, 3829, 4091, 4139

PROBLEM: ['6801', '7835', 'b', 'D', '7245', '2221', 'q', 'i', 'Z']

SOLUTION:
b, D, q, i, Z, 6801, 7835, 7245, 2221