stargazer's submission of Triple Sort | CodeChef