add sort to controller

Ya lo resucite, https://github.com/CodeandoMexico/cambia-la-ley/issues/5