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: ['X', '4861', '4531']

A: X, 4861, 4531
****
Q: ['8817', 'm', '1795', 'q', '2999', 'i', 'n', '5895', '6609', '901', '4099', '5973', 'M', 'j', '5867', '6035', '9425', '3401', '2677', '8939', 'v', 'y', 'S', 'X', '1411', '5595', 'm', '1871']

A: m, q, i, n, M, j, v, y, S, X, m, 8817, 1795, 2999, 5895, 6609, 901, 4099, 5973, 5867, 6035, 9425, 3401, 2677, 8939, 1411, 5595, 1871
****
Q: ['F', 'b', 'T', '4133', '6901', '981', 'k', 'g', '6381', 'c', '893', 'i', 'M', '9069', 'm', '9051', '6487', '1607', 'n', '229', '3075', '6081', 'z', '5033']

A:
F, b, T, k, g, c, i, M, m, n, z, 4133, 6901, 981, 6381, 893, 9069, 9051, 6487, 1607, 229, 3075, 6081, 5033
****