Fix divisions sorting