Changed reference admin view to sort by type
Fixed typo in admin