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: ['6613', 'L', '2091', 'd', '6243', '6159', '7853', 'q', '1383', '4761', 'P', '3547', 'i', '5319', 'v', '2209', '3085', '3563', 'h', 'r', 's', 'I', 'F', 'Q', '1429', '9731', 'E', '4879', '1507', 'B', 'D', '2507', '295', '7197', '4025', '7091', 'X']

SOLUTION: L, d, q, P, i, v, h, r, s, I, F, Q, E, B, D, X, 6613, 2091, 6243, 6159, 7853, 1383, 4761, 3547, 5319, 2209, 3085, 3563, 1429, 9731, 4879, 1507, 2507, 295, 7197, 4025, 7091

PROBLEM: ['Y', 'k', '2219', 'e', 'X', '9837']

SOLUTION: Y, k, e, X, 2219, 9837

PROBLEM: ['8721', 'J', 'y', '511', 'u', '4745', '4617', 'J', '6315', 'j', 'T', 'q', 'M', 'R', '7183', '8215', '5599', '969', '3489', 'f', 'f', '4629', '9169', 'G', 'V', 'j', '9379', '4663']

SOLUTION:
J, y, u, J, j, T, q, M, R, f, f, G, V, j, 8721, 511, 4745, 4617, 6315, 7183, 8215, 5599, 969, 3489, 4629, 9169, 9379, 4663