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: ['4025', 'S', '3605', 'H', 'i', '3945', '5713', 'e', '6575', '4557', '6589', 'w', '8363', 'K', '655', 'w', '2597', '1251', 'e', '1297', '7889', '6491', 'B', '6531', '6895', 'L', '6127', 'L', '3433', '5561', 'c', 'Q']

SOLUTION: S, H, i, e, w, K, w, e, B, L, L, c, Q, 4025, 3605, 3945, 5713, 6575, 4557, 6589, 8363, 655, 2597, 1251, 1297, 7889, 6491, 6531, 6895, 6127, 3433, 5561

PROBLEM: ['2891', '2069', '497', '7927', 'S', '8211', 'g', 'X', '8385', '9813', 'W', '2619', '5449', '6807', 'n', 'f', '1949', '1747', '6579', 'x', 'Q', '9445', 'g', 'L', 'J', 'v', 'B']

SOLUTION: S, g, X, W, n, f, x, Q, g, L, J, v, B, 2891, 2069, 497, 7927, 8211, 8385, 9813, 2619, 5449, 6807, 1949, 1747, 6579, 9445

PROBLEM: ['6215', 'Z', 'x', '4917', '4351', '7669', '227', 'Q', '6685', 'S']

SOLUTION:
Z, x, Q, S, 6215, 4917, 4351, 7669, 227, 6685