sort on main done. infinite ajax done