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: ['q', 'm', '3639', '1029', '6027', 'l', '9765', '165', '2131', 'j', '1403', '8975', 'K', '2587', 'l', '5613', '5657', 'L', 'o', '6831', 'L', 'Q', '3345', '1265', 'F', 'Y', 'i', '3765', '6639', 'I', 'x', '6447', '5573', '8489', 'I', '5753']

SOLUTION: q, m, l, j, K, l, L, o, L, Q, F, Y, i, I, x, I, 3639, 1029, 6027, 9765, 165, 2131, 1403, 8975, 2587, 5613, 5657, 6831, 3345, 1265, 3765, 6639, 6447, 5573, 8489, 5753

PROBLEM: ['u', 'R', '4343', '347', 'C', '5197', 'P', '9407', 'd', '5667', 'n', 'a', 'Q', '2681', '3401', 'r']

SOLUTION: u, R, C, P, d, n, a, Q, r, 4343, 347, 5197, 9407, 5667, 2681, 3401

PROBLEM: ['2609', '5123', '4965', '8217', 'z', 'r', 'y', '9231', 'H']

SOLUTION:
z, r, y, H, 2609, 5123, 4965, 8217, 9231