made sorting by continget work right, and updated filters