Can sort extensions by name instead of number? How?
Edit the autoconfig-buttons-freepbx.sh script and modify the sql queries , adding the order by you feel like.