ticket:13 add sorting for priority and timestamp column