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]: ['f', '4095', '8787', '8963', 'O', 'a', '819', 'u', '6877', '6687', '3987', '297', '5095', 'l', '1103', '1579', 'h', 'y', 'f', 'k', 'I', 'C', 'G', 'O', '39', 'R', '7597', '2981']
[A]: f, O, a, u, l, h, y, f, k, I, C, G, O, R, 4095, 8787, 8963, 819, 6877, 6687, 3987, 297, 5095, 1103, 1579, 39, 7597, 2981


[Q]: ['597', '6047', 'c', 'B', 'Z', '9349', '561', '8815', '4407', 't', '4855', '7361', '5215', 'q', '9735', 'A', 'n', '4895', '7731', '4227', '9977', 'J', 'p', '6473', 'd', '9137', 'L', '745', 'C', 'T']
[A]: c, B, Z, t, q, A, n, J, p, d, L, C, T, 597, 6047, 9349, 561, 8815, 4407, 4855, 7361, 5215, 9735, 4895, 7731, 4227, 9977, 6473, 9137, 745


[Q]: ['3159', '2817', '527', 'n', 'w', '6029', '5629', 't', '9691', 'o', 'k', '9227', '5729', 'x', 'S', '7047', '7227', '5007', '3287', '7413']
[A]:
n, w, t, o, k, x, S, 3159, 2817, 527, 6029, 5629, 9691, 9227, 5729, 7047, 7227, 5007, 3287, 7413