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: ['405', '2287', '9671', '5581', 'S', 'W', 'a', 'I', '5965', '5165', '6109', 'C', 'O', '8787', '141', '8211', 'm', 'f', 'g', 'Z', '9305', 'D', 'N', '193', 'D', '419', '7545']

A: S, W, a, I, C, O, m, f, g, Z, D, N, D, 405, 2287, 9671, 5581, 5965, 5165, 6109, 8787, 141, 8211, 9305, 193, 419, 7545
****
Q: ['G', '2125', 'Z', 'O', 'Z', 'E', '2973', '2853', 'S', '8863', 'z', 'T']

A: G, Z, O, Z, E, S, z, T, 2125, 2973, 2853, 8863
****
Q: ['I', '7389', 'c', '6111', '6389', 'a', '5455', '6507', 'j', '945', '4683', '3321', 'V', '1061', '5203', '7235', 'z', 'F', '2825', 'S', 'M']

A:
I, c, a, j, V, z, F, S, M, 7389, 6111, 6389, 5455, 6507, 945, 4683, 3321, 1061, 5203, 7235, 2825
****