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.

[EX 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']
[EX 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

[EX Q]: ['9167', '2991', 'G', '5327', 't', '8631', '2825', '2915', '2637', 'H', 'A', '7233', '223', '51', 'n', '2071', 't', '3703', '4951', '4833', '6801', '2973', 'K', 'f', '3945']
[EX A]: G, t, H, A, n, t, K, f, 9167, 2991, 5327, 8631, 2825, 2915, 2637, 7233, 223, 51, 2071, 3703, 4951, 4833, 6801, 2973, 3945

[EX Q]: ['q', '6481', 'l', '7861', '6355', 'x', '169', '7039', '5777', '855', 'L', '3509', '8271', 'K', 'U', '3439', 'S', 'g', '3255', '9255', 'G']
[EX A]:
q, l, x, L, K, U, S, g, G, 6481, 7861, 6355, 169, 7039, 5777, 855, 3509, 8271, 3439, 3255, 9255