ticket:13 Added the ability to sort data by datetime ot by priority fields.