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: ['7709', 'a', 'P', 'G', '5441', '2055', '1573', '6041', 'J', 'N']

SOLUTION: a, P, G, J, N, 7709, 5441, 2055, 1573, 6041

PROBLEM: ['R', 'W', '2405', '3781', '1573', '1409', 'E', 'c', 'w', 'Y', 'E', '5627', '3927', 'F', 'o', '1735', '8237']

SOLUTION: R, W, E, c, w, Y, E, F, o, 2405, 3781, 1573, 1409, 5627, 3927, 1735, 8237

PROBLEM: ['2761', '4685', '1887', 'f', 'r', '4585', 'A', '9705', '3765', '9329', 'f', 'E', '991', '6545', 'Z', 'K', 'S', '1591', 'N', '1063', '6667']

SOLUTION:
f, r, A, f, E, Z, K, S, N, 2761, 4685, 1887, 4585, 9705, 3765, 9329, 991, 6545, 1591, 1063, 6667