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: ['z', '8187', '4529', '1919', 'P', 'z', '1201', '1097', '6543', '3119', '2985', '9259', '2779', '1863', 'c', '361', '5583', '1255', 'Z', 'B', 'E', '4107', 'B', 't', '8595', 't', 't', '8349', 'Z', 'G', 't', 'U', 'M', '5879', '9917', '6685', '5647']

SOLUTION: z, P, z, c, Z, B, E, B, t, t, t, Z, G, t, U, M, 8187, 4529, 1919, 1201, 1097, 6543, 3119, 2985, 9259, 2779, 1863, 361, 5583, 1255, 4107, 8595, 8349, 5879, 9917, 6685, 5647

PROBLEM: ['9167', '2991', 'G', '5327', 't', '8631', '2825', '2915', '2637', 'H', 'A', '7233', '223', '51', 'n', '2071', 't', '3703', '4951', '4833', '6801', '2973', 'K', 'f', '3945']

SOLUTION: G, t, H, A, n, t, K, f, 9167, 2991, 5327, 8631, 2825, 2915, 2637, 7233, 223, 51, 2071, 3703, 4951, 4833, 6801, 2973, 3945

PROBLEM: ['r', 'i', '7793', 'Q', 'm', 'k', 'D', '3683', 'Y', 'n', 'j', 'j', '109', 'e', '2493', '6095', 'n', '3049', 'C', '2075']

SOLUTION:
r, i, Q, m, k, D, Y, n, j, j, e, n, C, 7793, 3683, 109, 2493, 6095, 3049, 2075