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: ['2219', '8431', 'Q', '7525', '9603', '7475', 'E', '3917', '2273', 'f', '7621', '5785', '2155', '2177', '9327', 'I', '3215', 'z', '6583', '703', '5665', '825', '5953', '7431', 'h', 't', 'a']

A: Q, E, f, I, z, h, t, a, 2219, 8431, 7525, 9603, 7475, 3917, 2273, 7621, 5785, 2155, 2177, 9327, 3215, 6583, 703, 5665, 825, 5953, 7431
****
Q: ['P', '3715', '7015', 'R', '7831']

A:
P, R, 3715, 7015, 7831
****