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: ['7221', 'c', 'r', 'd', '1583', 'i', 'A', 'w', '1477', '7905', 'n', '9297', 'f', '8789', 'k', '2099']

A: c, r, d, i, A, w, n, f, k, 7221, 1583, 1477, 7905, 9297, 8789, 2099
****
Q: ['h', 'H', '4373', 'c', '3351']

A:
h, H, c, 4373, 3351
****