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: ['O', '8353', 'G', 'M', 'O', '1283', 'W', 'K', 'o', '6405', 'I', 'X', '3623', 'Z', 'F', 'p', 'p', '6551', '8341', '9223', 'j', 't', 'V', 'u', 'V', '8101', '9933', '2323']

SOLUTION: O, G, M, O, W, K, o, I, X, Z, F, p, p, j, t, V, u, V, 8353, 1283, 6405, 3623, 6551, 8341, 9223, 8101, 9933, 2323

PROBLEM: ['2217', '9971', 'M', 'f', '407', 'q', '1233', 'f', '6335', '8037', 'l', 'Z', 'w', '8193', '891', 'X', '7163', 'P']

SOLUTION: M, f, q, f, l, Z, w, X, P, 2217, 9971, 407, 1233, 6335, 8037, 8193, 891, 7163

PROBLEM: ['1165', 'q', 'T', 's', '1465', '8591', 'p', 'l', '7631', '5089', '1279', '1801', '4725', '2231', 't', '609', '4025', 'e', '1879']

SOLUTION:
q, T, s, p, l, t, e, 1165, 1465, 8591, 7631, 5089, 1279, 1801, 4725, 2231, 609, 4025, 1879