implemented various search/sort techniques using javascript