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

Answer: c, r, d, i, A, w, n, f, k, 7221, 1583, 1477, 7905, 9297, 8789, 2099


Question: ['D', '2335', 'x', 'H', '7825']

Answer: D, x, H, 2335, 7825


Question: ['Q', 'a', '5375', '1803', 'J', '795', '5265', '7137', '8383', 'm', 'l', 'F', 'B', 'B', 'T', '305', 'T', '3379', 'J', 'O']

Answer:
Q, a, J, m, l, F, B, B, T, T, J, O, 5375, 1803, 795, 5265, 7137, 8383, 305, 3379