added category sort