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: ['8817', 'm', '1795', 'q', '2999', 'i', 'n', '5895', '6609', '901', '4099', '5973', 'M', 'j', '5867', '6035', '9425', '3401', '2677', '8939', 'v', 'y', 'S', 'X', '1411', '5595', 'm', '1871']

Answer: m, q, i, n, M, j, v, y, S, X, m, 8817, 1795, 2999, 5895, 6609, 901, 4099, 5973, 5867, 6035, 9425, 3401, 2677, 8939, 1411, 5595, 1871


Question: ['l', '4777', '3081', '6583', '1665', '6677', '2663', 'D', 'y', 'J', '801', 'j', '5055', '2445', 'k', 'M', '7851']

Answer: l, D, y, J, j, k, M, 4777, 3081, 6583, 1665, 6677, 2663, 801, 5055, 2445, 7851


Question: ['8411', '5067', '7545', '8583', 'E', 'F', 'h', 'G', '7227', '8501', 'P', 'M', 'y', 'B', 'G', '8639', 'D', 'o', '3319', 'Z', '3185', 'n', 'u', 'o', '5059', '1011', '1799', 'j', '8315', 'b', '9997', 'C', 'M', 'o']

Answer:
E, F, h, G, P, M, y, B, G, D, o, Z, n, u, o, j, b, C, M, o, 8411, 5067, 7545, 8583, 7227, 8501, 8639, 3319, 3185, 5059, 1011, 1799, 8315, 9997