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: ['4949', '7753', '4835', '1691', 'S', 'L', 'M', '1689', '5627', '943', '5645', '8579', '7713', 'G', '593', 'f', 'u', '981', 's', '7915', '3345']

A: S, L, M, G, f, u, s, 4949, 7753, 4835, 1691, 1689, 5627, 943, 5645, 8579, 7713, 593, 981, 7915, 3345
****
Q: ['g', 'g', '9271', 'D', '9667', 'x', '117', 'E', '4013', 'D', 'M', 'Y', '3887', '5931', '273', '5333', 'Q', '1303', '4517']

A: g, g, D, x, E, D, M, Y, Q, 9271, 9667, 117, 4013, 3887, 5931, 273, 5333, 1303, 4517
****
Q: ['5405', '949', 'T', 'N', 'h', '7655', 't', 'u', '7', '1495', 'C', 'y', '4789', 'J']

A:
T, N, h, t, u, C, y, J, 5405, 949, 7655, 7, 1495, 4789
****