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: ['r', '3435', 'c', 'k', 'C', '5707', 'C', '8357', '2003', 'e', '7713', '8613']

SOLUTION: r, c, k, C, C, e, 3435, 5707, 8357, 2003, 7713, 8613

PROBLEM: ['p', '5531', '2467', '7415', 'w', '2487', 'V', '965', 'O', 't', '6221', 'J', 'J', '5297', 'v', '4443', 'w', 'D']

SOLUTION: p, w, V, O, t, J, J, v, w, D, 5531, 2467, 7415, 2487, 965, 6221, 5297, 4443

PROBLEM: ['3017', '7003', 'F', 'i', 'J', 'R', 's', '1431', '3241', '8369', '7035', '6047', 'w', 'f', '1199', '2775', 'X', '2961', '1957', '3425', '9679', 'U', 'o', '6757', '1141', 'Z', '3473', '3811', 'C', 'A', '1103', 'f']

SOLUTION:
F, i, J, R, s, w, f, X, U, o, Z, C, A, f, 3017, 7003, 1431, 3241, 8369, 7035, 6047, 1199, 2775, 2961, 1957, 3425, 9679, 6757, 1141, 3473, 3811, 1103