Update css.template.js

Fixed sort function