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: ['M', 'x', '5631', '4515', '3367', 'B', 't', 'Z', '913', 'I', 'X', '591', 'Y', 'w', 'W', 'S']

SOLUTION: M, x, B, t, Z, I, X, Y, w, W, S, 5631, 4515, 3367, 913, 591

PROBLEM: ['5043', '6057', 'o', 'a', 'I', '3389', 'q', 'Z', '7613', 'u', '9805', '4397', 'S', '9211', '2333', 'f', '4575', 'F', 'O', '2487', '6959', 'S', 'x', '7421', '4643', '6861', '9847', '9697', '2575', '3989', '7331', 'm', '2713', 'P', '8515', 'H', 'k', '9171', '8931']

SOLUTION: o, a, I, q, Z, u, S, f, F, O, S, x, m, P, H, k, 5043, 6057, 3389, 7613, 9805, 4397, 9211, 2333, 4575, 2487, 6959, 7421, 4643, 6861, 9847, 9697, 2575, 3989, 7331, 2713, 8515, 9171, 8931

PROBLEM: ['8825', '6899', '3927', 'E', '1793', '6169']

SOLUTION:
E, 8825, 6899, 3927, 1793, 6169