Onestamente non ho capito bene la tua soluzione.
Io facevo scegliere da una selecet discendente e ascendente e poi in order by lo inserivo.
Veniva qualcosa tipo:
[...] ORDER BY criterio ASC
[...] ORDER BY criterio DESC