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.

Q: ['h', '997', 'A', 'p', 'y', 'B', '4121', '2701', 'i']

A: h, A, p, y, B, i, 997, 4121, 2701
****
Q: ['9265', 'L', 'j', 'l', 'g', '4067', 'f', 'R', '5407', 'I', 'z', '1389', 'i', 'g', 'u', '6807', 'k', '9701', 'e', '2513', '627', '6263', 'h', 'm', 'J', 'M']

A: L, j, l, g, f, R, I, z, i, g, u, k, e, h, m, J, M, 9265, 4067, 5407, 1389, 6807, 9701, 2513, 627, 6263
****
Q: ['1737', '6097', '2813', '4877', 'G', '5343', '1771', '8491', '3347', 'Z', '5941', 'r', 'H', '379', '5311', 'A', 'i', 'I', 'R', '1699', '9699', '841', '477', 'K', 'F', '277', '8635', '1095', 'N', 'c', '2857']

A:
G, Z, r, H, A, i, I, R, K, F, N, c, 1737, 6097, 2813, 4877, 5343, 1771, 8491, 3347, 5941, 379, 5311, 1699, 9699, 841, 477, 277, 8635, 1095, 2857
****