WIP change to sorting, refs #6243