RV is right but there is more to it.
Look up the IIF function, which allows you to choose between two possible results depending on another field.
It is possible to define an expression in a query such that an IIF governs the returned values. I.e., in the query design grid, you can have a field such as
FunkySort: IIF( [CheckBox], [ValueOfSomethingElse],"zzzBadValue")
then check the Ascending or Descending sort on this field in the query grid.
BUT - the values you test have to be in the underlying TABLE, not on a form. So [CheckBox] must actually be the name of a Yes/No field in your table. [ValueOfSomethingElse] must actually be a field in your table. On the other hand, whatever you want to use for "zzzBadValue" is arbitrary.
Not only can you sort on this, but since it appears to be part of a SELECT query, you can even build reports on it. In which case the name of the IIF field is [FunkySort].