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.
--------
Question: ['8983', '3387', 'A', '7837', '5923', 'f', 'G', '2929', '4447', '8045', 'h', '1391', '8899', 'P', 'K', '2027', '1473', '3891', '1059', 'o', 'f', 'k', '6831', 'o', 'M']

Answer: A, f, G, h, P, K, o, f, k, o, M, 8983, 3387, 7837, 5923, 2929, 4447, 8045, 1391, 8899, 2027, 1473, 3891, 1059, 6831


Question: ['D', '2335', 'x', 'H', '7825']

Answer: D, x, H, 2335, 7825


Question: ['x', '7899', '1595', '9673', '5671', 'T', 'X', '8809', '9535', 'z', '6107', '391', 'Z', '4391', 'p', 'C', 'O', 'Y', 'l', 'g', '6251', 'm', 'e', '6453', '7685']

Answer:
x, T, X, z, Z, p, C, O, Y, l, g, m, e, 7899, 1595, 9673, 5671, 8809, 9535, 6107, 391, 4391, 6251, 6453, 7685