homepage sorting fixed