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: ['h', '997', 'A', 'p', 'y', 'B', '4121', '2701', 'i']

A: h, A, p, y, B, i, 997, 4121, 2701
****
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: ['S', 'w', '4769', '2767', 'c', 'q', '9855', 'p', 'R', 'e', '201', '497', 'g', '621', '3563']

A:
S, w, c, q, p, R, e, g, 4769, 2767, 9855, 201, 497, 621, 3563
****