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: ['I', '2975', '413', '4083', '8705', '4017', '2507', 'E', '3735', 'P']

SOLUTION: I, E, P, 2975, 413, 4083, 8705, 4017, 2507, 3735

PROBLEM: ['p', 'h', '8605', 'd', '5185', 'B', 'C', '1331', 'r', '2355', '1035', '3547', '7761', '8951', 'T', '1981', 'v', 'a', 'w', 'H', 'e', '5075', 'h', 'o', '3765', '7729', 'Q', '9289', 'i', 'k', 'E', 'k', 'i', 'd', '4879', '821']

SOLUTION: p, h, d, B, C, r, T, v, a, w, H, e, h, o, Q, i, k, E, k, i, d, 8605, 5185, 1331, 2355, 1035, 3547, 7761, 8951, 1981, 5075, 3765, 7729, 9289, 4879, 821

PROBLEM: ['1891', '5825', 'K', 'c', '8685', 'U', 'M', '8875', '6737', '8339', 'V', '2617', '8271', 'O', 'g', 'A', 'y', 'l', '8769', 'U', '8691', '2045', 'S', '191', '1161', '6895', 'y', '9471', '3549', '629', '3777', '5225', 'H', '9417', 'k', 'B', 't', 'p', 'm']

SOLUTION:
K, c, U, M, V, O, g, A, y, l, U, S, y, H, k, B, t, p, m, 1891, 5825, 8685, 8875, 6737, 8339, 2617, 8271, 8769, 8691, 2045, 191, 1161, 6895, 9471, 3549, 629, 3777, 5225, 9417