Add sort param for controlling order in which records are returned