initial resultset sorting

added basic sort methods on resultset;  eventually dynamicview will have
similar methods for registering the sort criteria to execute after
filterpipeline;