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: ['b', 'd', 'f']

A: b, d, f
****
Q: ['8831', '9289', '1655', '673', '7449', 't', 'L', '6689', '3789', '7409', 'g', '7683', 'Y', 'c', '5203', 'e', '207', 'M', 'k', 'X', '787']

A: t, L, g, Y, c, e, M, k, X, 8831, 9289, 1655, 673, 7449, 6689, 3789, 7409, 7683, 5203, 207, 787
****
Q: ['9351', 'y', '1269', 'g', '1143', '6889', 'J', '8171', 'y', '9173', 'm']

A:
y, g, J, y, m, 9351, 1269, 1143, 6889, 8171, 9173
****