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: ['7879', 'h', '5401', 'e', 'B', '9419', 'f', '7509', '2617', 'r', 'q', 'L', '2453']

A: h, e, B, f, r, q, L, 7879, 5401, 9419, 7509, 2617, 2453
****
Q: ['B', '8107', '9083', 'B', '9897', 'a', 'Q', 'k', 'C', 'e', '4681', '5411', '3143', 'j', '835', 'b', 'C', 'H', '3295', '8187', 'z', 'N', '947', '1395', '6893', 'R', 'J', '3361', 'x', '6389']

A: B, B, a, Q, k, C, e, j, b, C, H, z, N, R, J, x, 8107, 9083, 9897, 4681, 5411, 3143, 835, 3295, 8187, 947, 1395, 6893, 3361, 6389
****
Q: ['c', '251', 'r', 'G', '9199', 'o', '7257', '6125', 'Z', 'Z', '4627', '7245', 'N', '4157', 'X', 'U', 's', 'R', '8609']

A:
c, r, G, o, Z, Z, N, X, U, s, R, 251, 9199, 7257, 6125, 4627, 7245, 4157, 8609
****