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', 'b', 'z']

SOLUTION: g, b, z

PROBLEM: ['M', '9415', 'j', '1725', '9131', '11', '691', '3363', '9397', 's', 'T', '2227', 'E', '9483', 'B', '6715', '5843', 'W', '8395', '7489', '1649', 'y', 'Y', 'c', '9041', 't', 'B', '573', 'I', '4325', '7379', 'Z', '669', 'E']

SOLUTION: M, j, s, T, E, B, W, y, Y, c, t, B, I, Z, E, 9415, 1725, 9131, 11, 691, 3363, 9397, 2227, 9483, 6715, 5843, 8395, 7489, 1649, 9041, 573, 4325, 7379, 669

PROBLEM: ['U', 'f', 'j', 'g', 'D', 'z', 'A', '8177', '7463', '9839', 'K', 'X', 'E', 'N', 'M', 'O', 'u']

SOLUTION:
U, f, j, g, D, z, A, K, X, E, N, M, O, u, 8177, 7463, 9839