Issue #394 - better implementation of sort functions