add new getordering based on minor changes
add new getordering based on minor changes