Sorting working trying to implement info into form