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: ['2397', '1403', '7057', 's', 'e', 'd', 'n', '1851', 'n', '5057']

A: s, e, d, n, n, 2397, 1403, 7057, 1851, 5057
****
Q: ['1721', '6287', 'W', '1039', 'g']

A: W, g, 1721, 6287, 1039
****
Q: ['7561', 'D', 'c', '9907', 'J', '2709', 's']

A:
D, c, J, s, 7561, 9907, 2709
****