High performance table sort and filter