Update category.tpl

Fixed incorrect foreach of $sort and $limit (as value is now $*item)