You can sort categories by enabling a setting in admin area called fixed category positions
fixed category positions