Added option for ordering select results.