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: ['1721', '6287', 'W', '1039', 'g']

Answer: W, g, 1721, 6287, 1039


Question: ['h', '997', 'A', 'p', 'y', 'B', '4121', '2701', 'i']

Answer: h, A, p, y, B, i, 997, 4121, 2701


Question: ['J', '1307', 'S', '8981', 'H', 'I', 't', '5385', 'P', 'O', 'q', 'q', 'Z', 'o', 'L', 'y', 'W', '6679']

Answer:
J, S, H, I, t, P, O, q, q, Z, o, L, y, W, 1307, 8981, 5385, 6679