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: ['9929', '1121', '7789', '2189', '6513', 's', '7111', '2125', 'G', 'q', '3003', '2751', '4481', '4111', '447', 'J', '673', '8357', '6187', '3055']

SOLUTION: s, G, q, J, 9929, 1121, 7789, 2189, 6513, 7111, 2125, 3003, 2751, 4481, 4111, 447, 673, 8357, 6187, 3055

PROBLEM: ['2345', '8237', '6033', 'y', '3339', 'R', '7185', '943', '5731', '6811', '709', 'P', '2793', 't', '7159', 'S', '1229', 'G', 't', '633', '403', '9069', '4949', '4317', '479', 'M', 'z', '4637', '7169', '5533', '4347', '4619', '9889', '2091']

SOLUTION: y, R, P, t, S, G, t, M, z, 2345, 8237, 6033, 3339, 7185, 943, 5731, 6811, 709, 2793, 7159, 1229, 633, 403, 9069, 4949, 4317, 479, 4637, 7169, 5533, 4347, 4619, 9889, 2091

PROBLEM: ['j', '6021', 'n', '4973', '1971', '51', 'S', '3051', '9977', 'Y', 'r', 'b', '3563', '2611', 'a', '7687', 'h', '5029', '4897', 'X', 'C', 'm', '8437', '9943', '731', 'S', '3363', '8437', 'I', '2203', '4337', '3507', '2279', 'O', 'w', '803']

SOLUTION:
j, n, S, Y, r, b, a, h, X, C, m, S, I, O, w, 6021, 4973, 1971, 51, 3051, 9977, 3563, 2611, 7687, 5029, 4897, 8437, 9943, 731, 3363, 8437, 2203, 4337, 3507, 2279, 803