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: ['M', '5785', 'N', 'n', 'Q', '7145', '7247', 'w', '4877', '9477', 'z', 'i', 'T', 'D', '4815', 'd', 'X', 'V', '3411', 'a', 'J', 'v', '5259', 'C', 'z', 'w', '99', '2905', '2897', 'k', '6537', 's', 'q', 'W', '5537', 'K']

A: M, N, n, Q, w, z, i, T, D, d, X, V, a, J, v, C, z, w, k, s, q, W, K, 5785, 7145, 7247, 4877, 9477, 4815, 3411, 5259, 99, 2905, 2897, 6537, 5537
****
Q: ['1583', '3831', 'G', 'E', 'y', '9157', '6339', '3001', 'q', '313', 'Y', '9883', 'G', '749', 'E', '1337', '1827', '1789', '6477', 'a', 'v', 'w', '4469', '883', '1155', 'Y', '5297', 't']

A:
G, E, y, q, Y, G, E, a, v, w, Y, t, 1583, 3831, 9157, 6339, 3001, 313, 9883, 749, 1337, 1827, 1789, 6477, 4469, 883, 1155, 5297
****