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: ['y', '9479', '6903', 'P', '9005', 'o', '6645', 'L', '2215', 'G', 'T', 'O', 'e', 'h', '4251', '9841', '1179', '7095', '9727', '9815', 'R', '8771', 'e']

SOLUTION: y, P, o, L, G, T, O, e, h, R, e, 9479, 6903, 9005, 6645, 2215, 4251, 9841, 1179, 7095, 9727, 9815, 8771

PROBLEM: ['L', 'l', '6069', '605', '6089', '2745', '5785', '9189', '1667', '965', 'w', '1387', 'L', '1907', 'G', 'b', '6697', 'W', '3957', 'C', 'm', 'F', '9615', 'c', '175', '2207', '6343', 's', '803', 'K', '2571', '697', 'B', 'W', '7463', 'W', '6521', 'D', '8535']

SOLUTION: L, l, w, L, G, b, W, C, m, F, c, s, K, B, W, W, D, 6069, 605, 6089, 2745, 5785, 9189, 1667, 965, 1387, 1907, 6697, 3957, 9615, 175, 2207, 6343, 803, 2571, 697, 7463, 6521, 8535

PROBLEM: ['S', '5685', 'i', '1185', '9975', '273', 'w', '5873', '665', 'v', 'l']

SOLUTION:
S, i, w, v, l, 5685, 1185, 9975, 273, 5873, 665