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: ['K', '797', '3531', 't', 'e', '2261']

A: K, t, e, 797, 3531, 2261
****
Q: ['6339', 's', 'y', '8869', '1179', 'L', 'M', 'H', 'G', '1989', 'm', 'x', '8581', '1917', 'Q', '5041', '6379', '4323', '417', '1251', '5483', '1927', '2315', '9079', '2089', 'N', '2731', '4553', 'I', '1791', '9797', 'k', 'r', 'D', 'x']

A: s, y, L, M, H, G, m, x, Q, N, I, k, r, D, x, 6339, 8869, 1179, 1989, 8581, 1917, 5041, 6379, 4323, 417, 1251, 5483, 1927, 2315, 9079, 2089, 2731, 4553, 1791, 9797
****
Q: ['4045', '7981', '9957', '9081', 'l', '857', '4133', 'f', '5625', 'G', 'l', 'X', '8375', 'j', 'N', 'j', 'X', 'D', 't', 'o', 'X', 'P', '9501', '3773', 'a', 'o', 'i', '6415', '3207', '6165', 'J', '9905', 'E', 'N', 'g']

A:
l, f, G, l, X, j, N, j, X, D, t, o, X, P, a, o, i, J, E, N, g, 4045, 7981, 9957, 9081, 857, 4133, 5625, 8375, 9501, 3773, 6415, 3207, 6165, 9905
****