datefiltering and some order