* Reduced overlay code size and added partial sorting. refs #822