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: ['S', '5685', 'i', '1185', '9975', '273', 'w', '5873', '665', 'v', 'l']

SOLUTION: S, i, w, v, l, 5685, 1185, 9975, 273, 5873, 665

PROBLEM: ['H', 'X']

SOLUTION: H, X

PROBLEM: ['6219', 'g', 'K', '3647', '9059', 'a', 'f', 'w', '5607', 'n']

SOLUTION:
g, K, a, f, w, n, 6219, 3647, 9059, 5607