Your numbers are 1,2,3,4,5,6,7,8,9. Now think of randomly picking any three numbers. Let's say 3, 9 and 1. There's only one way you can put that into an ascending order, and that is 1,3,9.
So with that in mind, you can rephrase the question. Instead of every possible SEQUENCE of numbers pressed...