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]: ['5039', 'O', 'A', '5619', 'P', '8261', '5983', '1779', 'M', '5919', '3361', '6323']
[A]: O, A, P, M, 5039, 5619, 8261, 5983, 1779, 5919, 3361, 6323


[Q]: ['k', 'Z']
[A]: k, Z


[Q]: ['B', '9067', 'y', 'p', 'z', 'R', '4323', 'W', '6415', '7213', 'H', '9969', 'y', '9449', '3785', 'q', 'A', 'r', '3701', '7863', '3805', 'B', 'c', 'c', 'T', '8313', 'm', 'a', 'L', 'o', '8779', '8807', '347', '7963', '189', 'z', 'V', 'R', 'v', 'f']
[A]:
B, y, p, z, R, W, H, y, q, A, r, B, c, c, T, m, a, L, o, z, V, R, v, f, 9067, 4323, 6415, 7213, 9969, 9449, 3785, 3701, 7863, 3805, 8313, 8779, 8807, 347, 7963, 189