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: ['D', 'P', '7505', 'Z', 'u', '3193', 'R', 'q', '2199', '9271', '8289', '8941', 'i', 'I', '3967', '6461', 'F', '5747', '5349', 'E', '9019', '9865', '4581', '8423', '8649', 'Q', 'o', '8085', '7383', 'i', 'a', 'T', 'S', '2559']

A: D, P, Z, u, R, q, i, I, F, E, Q, o, i, a, T, S, 7505, 3193, 2199, 9271, 8289, 8941, 3967, 6461, 5747, 5349, 9019, 9865, 4581, 8423, 8649, 8085, 7383, 2559
****
Q: ['7221', 'c', 'r', 'd', '1583', 'i', 'A', 'w', '1477', '7905', 'n', '9297', 'f', '8789', 'k', '2099']

A: c, r, d, i, A, w, n, f, k, 7221, 1583, 1477, 7905, 9297, 8789, 2099
****
Q: ['6785', '7423', '7989', '8807', 'e', '8423', 'i', 'w', 'x', '8237']

A:
e, i, w, x, 6785, 7423, 7989, 8807, 8423, 8237
****