fix billborad sort bug