Sorting by range

But now "last day" is the same as "last 24 hours" =(
(old functionality with sorting by time or rating still works)
UTC, please use UTC everywhere! (here and on lines 19 - 22)