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: ['Q', 'U', 'A', 'T', 'J', '7919', '2883', '2859', 'H', '2701', '1417', '1373', 'T', '7001', '3935', '4299', '7305', '3573', 'x', '6195', 's', 'e', '3791', 'O', '945', 'M', 'g', '5671', '7883', '2281', '967', '9253', '919', '8453']

A: Q, U, A, T, J, H, T, x, s, e, O, M, g, 7919, 2883, 2859, 2701, 1417, 1373, 7001, 3935, 4299, 7305, 3573, 6195, 3791, 945, 5671, 7883, 2281, 967, 9253, 919, 8453
****
Q: ['s', 'H', 'N', 'Z', 'S', 'N', '9997', 'q', '1443', 'B', '5481', '3473', 'l', '6369', '6765', 'K', 'A', '1241', 'I', '8685']

A:
s, H, N, Z, S, N, q, B, l, K, A, I, 9997, 1443, 5481, 3473, 6369, 6765, 1241, 8685
****