What is the order of Ancient Chinese military rank from lowest to highest?

Here's the military ranking system of the Northern and Southern Dynasties (439-589, during the Age of Fragmentation):
Unit: Commander

部 bu (Division): 将军 jiangjun (General)
统军 tongjun (Lieutenant-General)

军 jun (Regiment): 军主 junzhu (Colonel)
军副 junfu (Lieutenant-Colonel)

队 dui (Company): 队主 duizhu (Captain)
队副 duifu (Lieutenant)

Other less formal ranks:
幢主 chuangzhu (Detachment Commander)
戍主 shuzhu (Garrison Commander)