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.

Input: Consider Input: ['q', '8387']

Output: q, 8387


Input: Consider Input: ['g', '6307', '3781']

Output: g, 6307, 3781


Input: Consider Input: ['5859', '9519', '1881', 'J', 'Q', 'K', 'f', 'R', '7609', 'Z', 'c', '3207', '899', '9831', 'J', 'o', 'B', '257', '505', '2093', '4005', '9409', 'p', 't', '9113', '8327', 'r', '9291', 'h', '291', '5715', 'H', '6369', 'i']


Output: J, Q, K, f, R, Z, c, J, o, B, p, t, r, h, H, i, 5859, 9519, 1881, 7609, 3207, 899, 9831, 257, 505, 2093, 4005, 9409, 9113, 8327, 9291, 291, 5715, 6369