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.

['2797', '8449', '8105', '6175', 'x']
x, 2797, 8449, 8105, 6175

['g', 'g', '9271', 'D', '9667', 'x', '117', 'E', '4013', 'D', 'M', 'Y', '3887', '5931', '273', '5333', 'Q', '1303', '4517']
g, g, D, x, E, D, M, Y, Q, 9271, 9667, 117, 4013, 3887, 5931, 273, 5333, 1303, 4517

['A', '3375', 'R', '3533', '349', '5089']

A, R, 3375, 3533, 349, 5089