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: ['1721', '6287', 'W', '1039', 'g']

A: W, g, 1721, 6287, 1039
****
Q: ['3547', '9563', '85', '1897', 'g', '2449', '7801', '8531', '4719', 'N', '63', '4227', '7751', 'R', '127', '3839', 'P', '9783', '8499', '9205', 'X', 'e', '5773', 'v', '3279', '9471', 'j', 'W', '4587', '3001', 'd', '6931', 'S', '1503', '1077']

A: g, N, R, P, X, e, v, j, W, d, S, 3547, 9563, 85, 1897, 2449, 7801, 8531, 4719, 63, 4227, 7751, 127, 3839, 9783, 8499, 9205, 5773, 3279, 9471, 4587, 3001, 6931, 1503, 1077
****
Q: ['h', '6709', '9721', 'B', 'd', 'e', '5443', 'c', '4471', '1109', '5887', 'O', '4599', 'B', 'a', 't', 'p', 'o', '1775', '6221', 'U', 'Q', 'b', '2827', 't', '9329', '639', '959', 'w', '6407', '7797', 'O', '8571', '4157', '9875', '4501', 'F']

A:
h, B, d, e, c, O, B, a, t, p, o, U, Q, b, t, w, O, F, 6709, 9721, 5443, 4471, 1109, 5887, 4599, 1775, 6221, 2827, 9329, 639, 959, 6407, 7797, 8571, 4157, 9875, 4501
****