Fixed sort for statics