tablefy does basic sorting
use eg_metadata to sort objects before pagination
sort dynamic interfaces by mac
Move sort logic from make_paginator to do_sort; plays nice with tablefy sort