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: ['1363', '4357', '39', 'g', 'j', 'm', 'w', 'y', '8981', '6481', 'p', 'b', '8457', '7229', 'g', '1803', 'i', '9219', 'b', 'm', '661', '3333', '6127', 'T', '1099', 'P', '2173', '6471', '6119', '5409', 'I', '2733', 'm', '7543', 'K']

SOLUTION: g, j, m, w, y, p, b, g, i, b, m, T, P, I, m, K, 1363, 4357, 39, 8981, 6481, 8457, 7229, 1803, 9219, 661, 3333, 6127, 1099, 2173, 6471, 6119, 5409, 2733, 7543

PROBLEM: ['m', 'T', 'z', '4153', 'd', '3833', '2085', 'd', 'Q', '7615', '733', 'y', '735', '7795', 'U', 'K', '1951', 'i', '5127', '9621', '4871']

SOLUTION: m, T, z, d, d, Q, y, U, K, i, 4153, 3833, 2085, 7615, 733, 735, 7795, 1951, 5127, 9621, 4871

PROBLEM: ['K', '6389', '4731', '3257', '8101', 'K', '4057', '3699', '7411', 'l', '1729', 'K', 's', 'e']

SOLUTION:
K, K, l, K, s, e, 6389, 4731, 3257, 8101, 4057, 3699, 7411, 1729