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: ['4779', '4483', 'z', '8063', '3057', 'i', '4317', '2349', 's', '7385', '6717', 'S', 'y', 'p', 'O', 'T', 'x', '9253', 'Q', 'I', 'w']

SOLUTION: z, i, s, S, y, p, O, T, x, Q, I, w, 4779, 4483, 8063, 3057, 4317, 2349, 7385, 6717, 9253

PROBLEM: ['1805', 'B', '6109', 'F', 'u', 'y', '8997', '2423', 'y', 'N', '4781']

SOLUTION: B, F, u, y, y, N, 1805, 6109, 8997, 2423, 4781

PROBLEM: ['1535', 'g']

SOLUTION:
g, 1535