set correct order