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]: ['j', 'h', '1213', '2235', 'Z', 'z', 'y', '3173', 'U', '3409', '9049', 'g', '3287', 's', 'n', '7121', '1697', 'T', '2395', 'y', 'M']
[A]: j, h, Z, z, y, U, g, s, n, T, y, M, 1213, 2235, 3173, 3409, 9049, 3287, 7121, 1697, 2395


[Q]: ['n', '5465', '5621', '9305', 'p']
[A]: n, p, 5465, 5621, 9305


[Q]: ['w', '7227', '8671', '1819', '6153', 'K', 'g', '9839', '7245', '1765', 'n', 'w', 'e', '9375', '8525', '347', 'Y', 'h', '9867', '2941', 'A', '1911', 'h', '2401']
[A]:
w, K, g, n, w, e, Y, h, A, h, 7227, 8671, 1819, 6153, 9839, 7245, 1765, 9375, 8525, 347, 9867, 2941, 1911, 2401