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]: ['c', '8771', 't', 'e', '8875', 'q']
[A]: c, t, e, q, 8771, 8875


[Q]: ['9265', 'L', 'j', 'l', 'g', '4067', 'f', 'R', '5407', 'I', 'z', '1389', 'i', 'g', 'u', '6807', 'k', '9701', 'e', '2513', '627', '6263', 'h', 'm', 'J', 'M']
[A]: L, j, l, g, f, R, I, z, i, g, u, k, e, h, m, J, M, 9265, 4067, 5407, 1389, 6807, 9701, 2513, 627, 6263


[Q]: ['l', '3153', '3013', 'd', '2785', 'r', 'J', 'F', '5017', 'l', 'k', 'F', '7351', 'd', '591', 'i', 'R', 'P', 'R', '2895', 'b', '2503', '6895', '1725', 'f', '4603', 'r', '803', 'h', 'g']
[A]:
l, d, r, J, F, l, k, F, d, i, R, P, R, b, f, r, h, g, 3153, 3013, 2785, 5017, 7351, 591, 2895, 2503, 6895, 1725, 4603, 803