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: ['l', '9043', 'g', 'k', 'u', 'U', 'Q', '6049', 'M', 'y', 'X', '2547', '4653', '1049', 'v', 'd', 'k', '1077', 'i', '3841', 'U', 'n']

A: l, g, k, u, U, Q, M, y, X, v, d, k, i, U, n, 9043, 6049, 2547, 4653, 1049, 1077, 3841
****
Q: ['8879', '5293', 'x', 'Y', 'I', '7817', 'Y', 'C', 'f', 'd']

A: x, Y, I, Y, C, f, d, 8879, 5293, 7817
****
Q: ['K', 'R', '8739', 'A', '6907', 'L', '7873', '2003', '9527']

A:
K, R, A, L, 8739, 6907, 7873, 2003, 9527
****