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.

['h', '997', 'A', 'p', 'y', 'B', '4121', '2701', 'i']
h, A, p, y, B, i, 997, 4121, 2701

['m', 'f', '3429', '6557', 'U', '4541', 'o']
m, f, U, o, 3429, 6557, 4541

['A', 'L', 'b', 'g', 'K', '8489', 'B', 's', 'I', '1779', 'G', 'Z', '5389', '6135', '3743', '3313', '7879', '5131', '9857', 'q', '2927', '8465', 'p', '9017', '8923', '7231', '5561', '7033', '6635']

A, L, b, g, K, B, s, I, G, Z, q, p, 8489, 1779, 5389, 6135, 3743, 3313, 7879, 5131, 9857, 2927, 8465, 9017, 8923, 7231, 5561, 7033, 6635