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: ['2995', 'x', 'K', 'p', '2923', 'O', 'd', '2747', '9895', 'f', '8609', 'M', 'f', '8977', '8939', 'Q', '2135', 'd', 'e', 'P', 'W', '807', '5311', 'W']

A: x, K, p, O, d, f, M, f, Q, d, e, P, W, W, 2995, 2923, 2747, 9895, 8609, 8977, 8939, 2135, 807, 5311
****
Q: ['b', '6111', 'R', '1477', '2285', '1439', 'q', 'J', 'y', 'a', 'A', 'R']

A: b, R, q, J, y, a, A, R, 6111, 1477, 2285, 1439
****
Q: ['2479', 'c', '6489', '2313', '5719', '9933', '2179', '7301', 'f', 'X', 'q', 'F', 'L', 'L', '5165', '9741', 'p', 's', 'E', 'b', '9225', 'T', 'o', 'N', '897']

A:
c, f, X, q, F, L, L, p, s, E, b, T, o, N, 2479, 6489, 2313, 5719, 9933, 2179, 7301, 5165, 9741, 9225, 897
****