Added Sort by and JS linked