fix small sorting bug in LV-SN