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: ['k', '507', 'I', '6705', '9645', 'H', '3897']

A: k, I, H, 507, 6705, 9645, 3897
****
Q: ['5463', '9001', 'C', 'r', '1813', 'n', 'v', 'r', 'k', 'n', 'A', '5577', '2807', '2311', '5893', '999', 'b', 'h', 'L', 'z', 'q', '5237', 'p', 'N', 'x', 'X', '6513', '9357', 'a', 'U']

A: C, r, n, v, r, k, n, A, b, h, L, z, q, p, N, x, X, a, U, 5463, 9001, 1813, 5577, 2807, 2311, 5893, 999, 5237, 6513, 9357
****
Q: ['B', 'H', '7577', 'W', '6193', 'w']

A:
B, H, W, w, 7577, 6193
****