Getting Correct Number Of Dice count as output but not the corect order

when i run the program i’m getting the correct answer as 4 but when i try to print the order then i’m not getting the correct order

please share you code ide link, then only i can understand what you are missing.