added option for order of numeric references