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: ['y', '9479', '6903', 'P', '9005', 'o', '6645', 'L', '2215', 'G', 'T', 'O', 'e', 'h', '4251', '9841', '1179', '7095', '9727', '9815', 'R', '8771', 'e']

SOLUTION: y, P, o, L, G, T, O, e, h, R, e, 9479, 6903, 9005, 6645, 2215, 4251, 9841, 1179, 7095, 9727, 9815, 8771

PROBLEM: ['U', '6933', 'P', '3411', 'U', 'P', '8519']

SOLUTION:
U, P, U, P, 6933, 3411, 8519