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', 'G', 'q', 'h', 'S', '3927', 'F', '1733', 'J', '891', 'Y', 'w', '9279', '447', 'L', '3511', '4641', '2599', 'q', 'd', '6279', '8873', '2225', 'S', 'x', 'j', 'e', '9103', '9821', '9405', 'l', 'g', '623', 'b', 'd', '5225', 'U']

SOLUTION: R, G, q, h, S, F, J, Y, w, L, q, d, S, x, j, e, l, g, b, d, U, 3927, 1733, 891, 9279, 447, 3511, 4641, 2599, 6279, 8873, 2225, 9103, 9821, 9405, 623, 5225

PROBLEM: ['81', 'c', '2003', 'X', 'w']

SOLUTION: c, X, w, 81, 2003

PROBLEM: ['K', '797', '3531', 't', 'e', '2261']

SOLUTION:
K, t, e, 797, 3531, 2261