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', 'i', 'o', '8643', 'R', '2321', 'c', 'a', 'Z', 'i', '1365', 'h', '8479', 'R', 'E', '6285', '1867', 'W', 'S', '9925', 'U', '5973', '8197', '39', 'N', 'E', '495', '5865', 'k', '7327', 'N', '167', '7871', 'u', 'w', 'L', '8495']

SOLUTION: S, i, o, R, c, a, Z, i, h, R, E, W, S, U, N, E, k, N, u, w, L, 8643, 2321, 1365, 8479, 6285, 1867, 9925, 5973, 8197, 39, 495, 5865, 7327, 167, 7871, 8495

PROBLEM: ['W', 'K', '8769', '1173', '1703', '125', 'v', '937', 'D', 'C', 'M', '8973', '6473', '1099', 'D', 'l', 'u']

SOLUTION: W, K, v, D, C, M, D, l, u, 8769, 1173, 1703, 125, 937, 8973, 6473, 1099

PROBLEM: ['Q', 'b', '3587', 'G', '5541', 'g']

SOLUTION:
Q, b, G, g, 3587, 5541