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: ['B', 'T', 'y', '4863', '715', 'O', 'i', 'n', '4171', '5175', 's', '4793', '9007', '9755', 'o', 'z', 'S', 'J', 'b', 'q', '5045', '7965']

A: B, T, y, O, i, n, s, o, z, S, J, b, q, 4863, 715, 4171, 5175, 4793, 9007, 9755, 5045, 7965
****
Q: ['i', '1565', '581', 'D', 'i', 'k', 'i', 'o', 'p', '1147', '4847', 'G', 'W', '6881', 'm', 'h', 'z', '3613', 's', 't', '7921', '4837']

A: i, D, i, k, i, o, p, G, W, m, h, z, s, t, 1565, 581, 1147, 4847, 6881, 3613, 7921, 4837
****
Q: ['X', 'S', '409', '775', '9355', 'T', '7027', '8011', 'Z', 't', 'H', '6935', '3997', '2269', 'c', '6623', 'I', 's', 'f', '2809', '4917', 'y', '6809', '7017', 'c', '4541', 'i', '4315', 'J', '111', 'j', '5151', '9725', 'I', 'W', 'D', '8247', '1551', '2601']

A:
X, S, T, Z, t, H, c, I, s, f, y, c, i, J, j, I, W, D, 409, 775, 9355, 7027, 8011, 6935, 3997, 2269, 6623, 2809, 4917, 6809, 7017, 4541, 4315, 111, 5151, 9725, 8247, 1551, 2601
****