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: ['8827', '2225', 'Z', 'N', '3355', 'b', 'n', '4339', '2151', 'M', 'j', 'T', '3925', '8891', '8417', '6521', '1087', 'i', 'A']

A: Z, N, b, n, M, j, T, i, A, 8827, 2225, 3355, 4339, 2151, 3925, 8891, 8417, 6521, 1087
****
Q: ['B', 'H', 'm', 'S']

A: B, H, m, S
****
Q: ['2937', '5483', 'G', 'w', '6623', '919', 'c', '7255', 'o', 'Z', '2111', '7237']

A:
G, w, c, o, Z, 2937, 5483, 6623, 919, 7255, 2111, 7237
****