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: ['p', '5531', '2467', '7415', 'w', '2487', 'V', '965', 'O', 't', '6221', 'J', 'J', '5297', 'v', '4443', 'w', 'D']

A: p, w, V, O, t, J, J, v, w, D, 5531, 2467, 7415, 2487, 965, 6221, 5297, 4443
****
Q: ['k', '507', 'I', '6705', '9645', 'H', '3897']

A: k, I, H, 507, 6705, 9645, 3897
****
Q: ['Y', 'F', 'r', '1787', '9323', '3705', 'L']

A:
Y, F, r, L, 1787, 9323, 3705
****