category sort

sort by category, and new sql dump