fixed sorting by date
added first partial filter implementation