implement server-side data sorting by column (ascending/descending)