firefox bug fixed for sorting. removed an unused old template