working on sorting algorithm have flights showing up on index page in sequential order