quickSort(0, lightList.size() - 1, sp);
sort( sp );
    public void resortLightsFor(LightState ls, Spatial sp) {        ls.detachAll();        quickSort(0, lightList.size() - 1, sp);        for (int i = 0; i < LightState.MAX_LIGHTS_ALLOWED; i++) {            ls.attach(get(i));        }    }