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: ['4221', '129', '9065', '9837', 'K', 'N', 'G', '7003', 'b', 'D', '5677', 'z', '8099', 'd', 'Q', '2031', 'T', '8599', '8613', '2269', '4661', 'A', '9917', '9095', '5695', 'X', '1081', 'g', 'M', '5859', '861', 'y', '2043', 'N', '3547', 'E', '659', 'B', '1217', 'C']

SOLUTION: K, N, G, b, D, z, d, Q, T, A, X, g, M, y, N, E, B, C, 4221, 129, 9065, 9837, 7003, 5677, 8099, 2031, 8599, 8613, 2269, 4661, 9917, 9095, 5695, 1081, 5859, 861, 2043, 3547, 659, 1217

PROBLEM: ['f', '4095', '8787', '8963', 'O', 'a', '819', 'u', '6877', '6687', '3987', '297', '5095', 'l', '1103', '1579', 'h', 'y', 'f', 'k', 'I', 'C', 'G', 'O', '39', 'R', '7597', '2981']

SOLUTION: f, O, a, u, l, h, y, f, k, I, C, G, O, R, 4095, 8787, 8963, 819, 6877, 6687, 3987, 297, 5095, 1103, 1579, 39, 7597, 2981

PROBLEM: ['1501', '5161', 'i', 'f', 'p', '8393', 'E', 'C', 'a', '6567', '1305', 'P', 'd', '8151', '4783', '2211', 'h', '2035', 'Z', '1181', 'F', '3813', '8625', '1069', '9479', 'M', '1757', '6303', '4253', '8859', 'a', '6529', 'O', 'I', 'e', '9641', '3625']

SOLUTION:
i, f, p, E, C, a, P, d, h, Z, F, M, a, O, I, e, 1501, 5161, 8393, 6567, 1305, 8151, 4783, 2211, 2035, 1181, 3813, 8625, 1069, 9479, 1757, 6303, 4253, 8859, 6529, 9641, 3625