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: ['6777', '9975', 'j', 'Y']

SOLUTION: j, Y, 6777, 9975

PROBLEM: ['9167', '2991', 'G', '5327', 't', '8631', '2825', '2915', '2637', 'H', 'A', '7233', '223', '51', 'n', '2071', 't', '3703', '4951', '4833', '6801', '2973', 'K', 'f', '3945']

SOLUTION: G, t, H, A, n, t, K, f, 9167, 2991, 5327, 8631, 2825, 2915, 2637, 7233, 223, 51, 2071, 3703, 4951, 4833, 6801, 2973, 3945

PROBLEM: ['C', 'O', 'a', '6697', 'l', '2299']

SOLUTION:
C, O, a, l, 6697, 2299