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: ['3805', 'd', 'V', 'u', '1395', '7337', '97', '6289', '5041', '8097', 'x', 'w', '7241', '2791', 'P', 'o', '7587', '6955', '9121', '599']

SOLUTION: d, V, u, x, w, P, o, 3805, 1395, 7337, 97, 6289, 5041, 8097, 7241, 2791, 7587, 6955, 9121, 599

PROBLEM: ['D', '8577', '7971', 'x', 'm', '8323', 'T', '5257', '3341', '3963', '7895', '1465', '1987', '9909', 'o', '245']

SOLUTION: D, x, m, T, o, 8577, 7971, 8323, 5257, 3341, 3963, 7895, 1465, 1987, 9909, 245

PROBLEM: ['1727', 'E', '5707', '8727', '3793', 'L', '1397', 'M', '4853', '5867', 'L', '4133', 'u', '8075', 'u', '5165']

SOLUTION:
E, L, M, L, u, u, 1727, 5707, 8727, 3793, 1397, 4853, 5867, 4133, 8075, 5165