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]: ['x', 'f', 'L', '3955', '2651', 'q', '7975', 'I', '5809', '5131', '5109', 'p', 'J', '6093', '9679', '3367', '7145']
[A]: x, f, L, q, I, p, J, 3955, 2651, 7975, 5809, 5131, 5109, 6093, 9679, 3367, 7145


[Q]: ['c', '9095', '7859', 'C', 'V', 'U', '5685', '9303', 'z', '3789', '1855', 'C', '3935', 'W', '6047', 'c', 'I', '6979', 'J', '5981', '7839', '7901', 'i', '105', '929', 'l', 'B', 'v', '5611', 'h', '8285', '379']
[A]:
c, C, V, U, z, C, W, c, I, J, i, l, B, v, h, 9095, 7859, 5685, 9303, 3789, 1855, 3935, 6047, 6979, 5981, 7839, 7901, 105, 929, 5611, 8285, 379