Static sort