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: ['3935', '5465']

SOLUTION: 3935, 5465

PROBLEM: ['A', '1797', 'h', '831', 'R', '1479', '847', '9057', '2253', '7111', 'M', 'p', '8749', 'm', '3599', '4911', 'c', 'X', '6719', '1513', '6901', '7125', '7697', 'W', 'x', 'G', 'L', 'J', 'W']

SOLUTION: A, h, R, M, p, m, c, X, W, x, G, L, J, W, 1797, 831, 1479, 847, 9057, 2253, 7111, 8749, 3599, 4911, 6719, 1513, 6901, 7125, 7697

PROBLEM: ['K', '2265', 'U', 'c', 'a', '143']

SOLUTION:
K, U, c, a, 2265, 143