Thanks for the suggestion, Larissa, but looking at Crystal's code made me figure out what was wrong! Just for the record if anyone is having the same problem, I just removed the line $show_sort_field = true; and now everything works. :)
Thank you girls for your help!
