Better light sorting

Should fix lighting issue (#62)