Standardized Output order and fixed duplicate issue in sort alternative solution