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: ['B', 'T', 'y', '4863', '715', 'O', 'i', 'n', '4171', '5175', 's', '4793', '9007', '9755', 'o', 'z', 'S', 'J', 'b', 'q', '5045', '7965']

A: B, T, y, O, i, n, s, o, z, S, J, b, q, 4863, 715, 4171, 5175, 4793, 9007, 9755, 5045, 7965
****
Q: ['U', '3969', 'X', 'D', '1321', '749', '6621', 'f', 'd', 'i', 's', '8399', 'P', '9363', '495', 'e', 'o']

A: U, X, D, f, d, i, s, P, e, o, 3969, 1321, 749, 6621, 8399, 9363, 495
****
Q: ['6413', 'V', '4525', 'Y', '1543', 'z', 'a', '7785', '69', 'h', 'l', '6623', '4979', '3461', 'a', 'w', 'Q', '3671', 'U', 'c', 'K', '1427', '5235', '1511', '7335', 'a', 'X', '8173', 'Q', 's', 'X', 'r']

A:
V, Y, z, a, h, l, a, w, Q, U, c, K, a, X, Q, s, X, r, 6413, 4525, 1543, 7785, 69, 6623, 4979, 3461, 3671, 1427, 5235, 1511, 7335, 8173
****