Add checkbox to use or not use time sorting.