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: ['U', '1869', '249', 'W', 'q', '7825', 'l', 'C', 'J', '4275', '3503', 'l', 'F', 'i', 'K', '1217', '8667', '9779', '1477', '445', '2701', 'W', '9035', 'F', '3271', '7013', '5279', '9831', 'g', '593', 'j', '9507']

SOLUTION: U, W, q, l, C, J, l, F, i, K, W, F, g, j, 1869, 249, 7825, 4275, 3503, 1217, 8667, 9779, 1477, 445, 2701, 9035, 3271, 7013, 5279, 9831, 593, 9507

PROBLEM: ['h', '997', 'A', 'p', 'y', 'B', '4121', '2701', 'i']

SOLUTION: h, A, p, y, B, i, 997, 4121, 2701

PROBLEM: ['809', '4671', '1495', '4831', 'Q', '3721', '6445', '4709', 's', 'j', 'R', '5659', '8117', '8695', 'Q', '9151', '8159', '9079', 'T', 'E', 'M', 'V', '1819', 'k', 's', 'I', 'D', 'w', 'I']

SOLUTION:
Q, s, j, R, Q, T, E, M, V, k, s, I, D, w, I, 809, 4671, 1495, 4831, 3721, 6445, 4709, 5659, 8117, 8695, 9151, 8159, 9079, 1819