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: ['D', '465', 'O', '9737', '9185', 'w', 'K', '8155', '7515', '1049', '8299', 's', 'I', 'Z', '2049', '9119', '6869', 'e']

SOLUTION: D, O, w, K, s, I, Z, e, 465, 9737, 9185, 8155, 7515, 1049, 8299, 2049, 9119, 6869

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: ['1671', '3071', 'G', 'm', 'a', '5559', 'q', '839', 'V', 'y', 'D', 'D', '983', 'z']

SOLUTION:
G, m, a, q, V, y, D, D, z, 1671, 3071, 5559, 839, 983