Added Sorting and issues sort try for deploying3