sorting of lovs