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: ['y', '9479', '6903', 'P', '9005', 'o', '6645', 'L', '2215', 'G', 'T', 'O', 'e', 'h', '4251', '9841', '1179', '7095', '9727', '9815', 'R', '8771', 'e']

A: y, P, o, L, G, T, O, e, h, R, e, 9479, 6903, 9005, 6645, 2215, 4251, 9841, 1179, 7095, 9727, 9815, 8771
****
Q: ['I', 'y', '1543', '4711', '1469', '4419', '9613', '7277', '3187', 'f', 'Q', 'M', 'N', 'o', 'W', '9339', 'K', '1095', '2573', 'C', '9807', 'L', 'k', '8433', '9769', '5431', '4879', '9251', 'q', 'J', '2269', '4167', '4097', 'R', 'l', '6163', 'K', '4375', 'X']

A: I, y, f, Q, M, N, o, W, K, C, L, k, q, J, R, l, K, X, 1543, 4711, 1469, 4419, 9613, 7277, 3187, 9339, 1095, 2573, 9807, 8433, 9769, 5431, 4879, 9251, 2269, 4167, 4097, 6163, 4375
****
Q: ['2317', '1293', 'S', '1189', 'G', 'd', '1873', 'E', 'H', 'Y', 'w', 'G', 'm', '2479', '6603', '9715', '5613', '6595', 'd', 'X', '2683', 'R', '7547', 'F', 'h', '1435', '5115', 'K', '2211', 'j', '4133']

A:
S, G, d, E, H, Y, w, G, m, d, X, R, F, h, K, j, 2317, 1293, 1189, 1873, 2479, 6603, 9715, 5613, 6595, 2683, 7547, 1435, 5115, 2211, 4133
****